SERVER: Fix worldspawn reference after Waffe

This commit is contained in:
cypress 2023-07-16 12:31:07 -04:00
parent 3d108c044b
commit 841843b5a7

View file

@ -768,9 +768,10 @@ void Parse_Damage () = // DO NOT TOUCH
else
DamageHandler(body_ent,self, total_dmg, S_NORMAL);
body_ent.washit = 0;
body_ent.hitamount = 0;
if (body_ent != world) {
body_ent.washit = 0;
body_ent.hitamount = 0;
}
}
ent = findfloat (ent, washit, 1);
}