Patch CS:S bugs
Go to file
2024-06-23 12:49:39 +02:00
.github/workflows feat: add github ci 2022-09-17 18:50:36 +02: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 feat: ladder gravity and point_viewcontrol (#3) 2024-06-23 12:49:39 +02: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 feat: ladder gravity and point_viewcontrol (#3) 2024-06-23 12:49:39 +02: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.