From 384a6f963ffa4ff2f98c5c13d4e05d2003752d20 Mon Sep 17 00:00:00 2001 From: RauliTop Date: Fri, 8 Apr 2022 19:36:55 +0200 Subject: [PATCH] Fix TimeBasedDamage Paralyze typo --- regamedll/dlls/basemonster.h | 2 +- regamedll/dlls/player.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/regamedll/dlls/basemonster.h b/regamedll/dlls/basemonster.h index dbdc22c66..63f8d8d41 100644 --- a/regamedll/dlls/basemonster.h +++ b/regamedll/dlls/basemonster.h @@ -34,7 +34,7 @@ enum { - ITBD_PARALLYZE = 0, + ITBD_PARALYZE = 0, ITBD_NERVE_GAS, ITBD_POISON, ITBD_RADIATION, diff --git a/regamedll/dlls/player.cpp b/regamedll/dlls/player.cpp index 802d008a8..c1fac67d4 100644 --- a/regamedll/dlls/player.cpp +++ b/regamedll/dlls/player.cpp @@ -4720,7 +4720,7 @@ void CBasePlayer::CheckTimeBasedDamage() { switch (i) { - case ITBD_PARALLYZE: + case ITBD_PARALYZE: // UNDONE - flag movement as half-speed bDuration = PARALYZE_DURATION; break;