Cleanup whitespace

This commit is contained in:
Alam Ed Arias 2018-11-14 10:54:33 -05:00
parent 938bf1605c
commit d14f87b8c6
4 changed files with 5 additions and 5 deletions

View File

@ -2393,7 +2393,7 @@ static void CL_RemovePlayer(INT32 playernum, INT32 reason)
}
}
}
#ifdef HAVE_BLUA
LUAh_PlayerQuit(&players[playernum], reason); // Lua hook for player quitting
#endif

View File

@ -449,10 +449,10 @@ typedef enum
KR_KICK = 1, //Kicked by server
KR_PINGLIMIT = 2, //Broke Ping Limit
KR_SYNCH = 3, //Synch Failure
KR_TIMEOUT = 4, //Connection Timeout
KR_TIMEOUT = 4, //Connection Timeout
KR_BAN = 5, //Banned by server
KR_LEAVE = 6, //Quit the game
} kickreason_t;
extern boolean server;

View File

@ -7417,7 +7417,7 @@ struct {
{"V_CHARCOLORSHIFT",V_CHARCOLORSHIFT},
{"V_ALPHASHIFT",V_ALPHASHIFT},
//Kick Reasons
{"KR_KICK",KR_KICK},
{"KR_PINGLIMIT",KR_PINGLIMIT},

View File

@ -1966,7 +1966,7 @@ void T_ThwompSector(levelspecthink_t *thwomp)
continue;
mo = (mobj_t *)th;
if (mo->type == MT_PLAYER && mo->health && mo->player && !mo->player->spectator
if (mo->type == MT_PLAYER && mo->health && mo->player && !mo->player->spectator
&& mo->z <= thwomp->sector->ceilingheight
&& P_AproxDistance(thwompx - mo->x, thwompy - mo->y) <= 96*FRACUNIT)
{