source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

[HL2MP] Death fall black screen removal

Open speedvoltage opened this issue 9 months ago • 1 comments

Issue: When a player die by fall damage, the screen becomes black.

Fix: Remove the black fade, because it is unnecessary.

speedvoltage avatar Mar 14 '25 21:03 speedvoltage

Why not move

virtual bool  FlPlayerFallDeathDoesScreenFade( CBasePlayer *pl ) { return false; }

to hl2mp_gamerules.h rather than do it in the base gamerules class? The removal of code in movehelper_server.cpp is probably not needed either as it already checks if FlPlayerFallDeathDoesScreenFade is enabled. (the PR also removes the "return false" on death in movehelper_server.cpp, which isn't ideal as that function should call "return false" if the player is dead)

Bitl avatar Mar 17 '25 19:03 Bitl