- fixed many compilation errors with GCC and Clang

This commit is contained in:
alexey.lysiuk 2019-01-07 10:14:52 +02:00 committed by Christoph Oelckers
commit 11958b713e
25 changed files with 110 additions and 110 deletions

View file

@ -2336,7 +2336,7 @@ bool P_TryMove(AActor *thing, const DVector2 &pos,
&& bglobal.IsDangerous(tm.sector))
{
thing->player->Bot->prev = thing->player->Bot->dest;
thing->player->Bot->dest = NULL;
thing->player->Bot->dest = nullptr;
thing->Vel.X = thing->Vel.Y = 0;
thing->SetZ(oldz);
thing->flags6 &= ~MF6_INTRYMOVE;