- SW: game.h cleanup

Turned almost all #defines into enums or inline functions, removed unused declarations and all leftover MONO_PRINT fragments elsewhere.
This commit is contained in:
Christoph Oelckers 2021-12-27 21:13:00 +01:00
parent 96396385e7
commit c24aafd3d6
10 changed files with 90 additions and 144 deletions

View file

@ -6504,8 +6504,6 @@ void PlayerGlobal(PLAYERp pp)
{
if (!(pp->Flags & PF_DEAD))
{
////DSPRINTF(ds,"Squish diff %d, min %d, cz %d, fz %d, lo %d, hi %d",labs(pp->loz - pp->hiz)>>8,min_height>>8, pp->ceiling_dist>>8, pp->floor_dist>>8,pp->lo_sectp-sector,pp->hi_sectp-sector);
//MONO_PRINT(ds);
PlayerUpdateHealth(pp, -pp->actor->user.Health); // Make sure he dies!
PlayerCheckDeath(pp, nullptr);