Fix Ban_Add usage for NONET

This commit is contained in:
Monster Iestyn 2017-02-20 21:36:05 +00:00
parent 7424df8180
commit 6efb15c6e8

View file

@ -2701,8 +2701,10 @@ static void Got_KickCmd(UINT8 **p, INT32 playernum)
{
if (I_Ban && !I_Ban(playernode[(INT32)pnum]))
CONS_Alert(CONS_WARNING, M_GetText("Too many bans! Geez, that's a lot of people you're excluding...\n"));
#ifndef NONET
else
Ban_Add(reason);
#endif
}
switch (msg)