Skip to content

Commit

Permalink
fix type conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShorokhov committed Feb 6, 2020
1 parent 049b02a commit 3a3da4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regamedll/dlls/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2080,7 +2080,7 @@ void EXT_FUNC CBasePlayer::__API_HOOK(Killed)(entvars_t *pevAttacker, int iGib)
UTIL_ScreenFade(this, Vector(0, 0, 0), 3, 3, 255, (FFADE_OUT | FFADE_STAYOUT));
}
#else
switch (fadetoblack.value)
switch ((int)fadetoblack.value)
{
default:
{
Expand Down

0 comments on commit 3a3da4b

Please sign in to comment.