Remove damagecount overflow hotfix for old gzdoom versions.
This commit is contained in:
parent
92a8eeb8c1
commit
e7e9407da4
2 changed files with 2 additions and 4 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r515 \cu(Tue 27 Sep 00:44:28 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r515 \cu(2022-09-27 00:44:28)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r516 \cu(Tue 27 Sep 16:45:45 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r516 \cu(2022-09-27 16:45:45)\c-";
|
||||
|
|
|
|||
|
|
@ -1982,8 +1982,6 @@ Class Demolitionist : PlayerPawn
|
|||
int oldpchance = PainChance;
|
||||
if ( damage < 5 ) PainChance = 0;
|
||||
int realdmg = Super.DamageMobj(inflictor,source,damage,mod,flags,angle);
|
||||
// hotfix damagecount overflow until proper fix is in stable gzdoom
|
||||
if ( player && (player.damagecount < 0) ) player.damagecount = 100;
|
||||
if ( lastdamagetic != gametic )
|
||||
{
|
||||
lastdamage = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue