mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-16 17:10:55 +00:00
SERVER: Fix worldspawn reference after Waffe
This commit is contained in:
parent
3d108c044b
commit
841843b5a7
1 changed files with 4 additions and 3 deletions
|
@ -768,9 +768,10 @@ void Parse_Damage () = // DO NOT TOUCH
|
||||||
else
|
else
|
||||||
DamageHandler(body_ent,self, total_dmg, S_NORMAL);
|
DamageHandler(body_ent,self, total_dmg, S_NORMAL);
|
||||||
|
|
||||||
body_ent.washit = 0;
|
if (body_ent != world) {
|
||||||
body_ent.hitamount = 0;
|
body_ent.washit = 0;
|
||||||
|
body_ent.hitamount = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ent = findfloat (ent, washit, 1);
|
ent = findfloat (ent, washit, 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue