Patch CS:S bugs
Go to file
Rushaway ee41205361
Revert "fix(detour): null pointer checks, CI" (#6)
* Revert "fix(detour): null pointer checks, CI (#5)"

This reverts commit 9cdce6c837.
2024-10-17 12:59:53 +09:00
.github/workflows fix(detour): null pointer checks, CI (#5) 2024-10-09 08:29:04 +09:00
addons/sourcemod Add ambuild 2.2 compat, Rename gamedata from CSSFixes.txt to CSSFixes.games.txt 2022-09-17 17:26:01 +02:00
AMBuilder Add ambuild 2.2 compat, Rename gamedata from CSSFixes.txt to CSSFixes.games.txt 2022-09-17 17:26:01 +02:00
AMBuildScript feat: add github ci 2022-09-17 18:50:36 +02:00
configure.py Add ambuild 2.2 compat, Rename gamedata from CSSFixes.txt to CSSFixes.games.txt 2022-09-17 17:26:01 +02:00
extension.cpp Revert "fix(detour): null pointer checks, CI" (#6) 2024-10-17 12:59:53 +09:00
extension.h feat: add github ci 2022-09-17 18:50:36 +02:00
Makefile initial commit 2016-05-12 16:10:42 +02:00
PackageScript Add ambuild 2.2 compat, Rename gamedata from CSSFixes.txt to CSSFixes.games.txt 2022-09-17 17:26:01 +02:00
README.md initial commit 2016-05-12 16:10:42 +02:00
smsdk_config.h Revert "fix(detour): null pointer checks, CI" (#6) 2024-10-17 12:59:53 +09:00
version.rc feat: add github ci 2022-09-17 18:50:36 +02:00

Counter-Strike: Source bug fixes

Fixes crash in filter_activator_*->TestActivator() when activator isn't valid anymore.

Fixes game_ui lag and player_speedmod turning off your flashlight.

Patchnotes

Thanks to the leaked Source Engine 2007 sourcecode.

File: se2007/game/server/game_ui.cpp

Line 292:
void CGameUI::Think( void )
[...]
	pPlayer->AddFlag( FL_ONTRAIN );
[...]

Replaced pPlayer->AddFlag( FL_ONTRAIN ); with NOP to fix prediction issues while having game_ui active.

File: se2007/game/server/player.cpp

Line: 7587
void CMovementSpeedMod::InputSpeedMod(inputdata_t &data)
[...]
			// Turn off the flashlight
			if ( pPlayer->FlashlightIsOn() )
			{
				pPlayer->FlashlightTurnOff();
			}
[...]

NOP'd out the block.