Skip to content

Commit

Permalink
DYING_TIME -> DEATH_ANIMATION_TIME
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShorokhov committed Jul 3, 2022
1 parent 73bb0ec commit fc17009
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regamedll/dlls/gamerules.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const float ROUND_RESPAWN_TIME = 20.0f;
const float ROUND_BEGIN_DELAY = 5.0f; // delay before beginning new round
const float ITEM_KILL_DELAY = 300.0f;
const float RADIO_TIMEOUT = 1.5f;
const float DYING_TIME = 3.0f;
const float DEATH_ANIMATION_TIME = 3.0f;

const int MAX_INTERMISSION_TIME = 120; // longest the intermission can last, in seconds

Expand Down Expand Up @@ -922,7 +922,7 @@ inline float CGameRules::GetDyingTime()
#ifdef REGAMEDLL_ADD
return dying_time.value;
#else
return DYING_TIME;
return DEATH_ANIMATION_TIME;
#endif
}

Expand Down

0 comments on commit fc17009

Please sign in to comment.