- Fixed: DCajunMaster::End was missing a write barrier for getspawned. The
same problem in D_DoomMain. - Made bglobal a pointer because it was causing problems with the garbage collector. SVN r859 (trunk)
This commit is contained in:
parent
39940fe20a
commit
997533e0c8
22 changed files with 131 additions and 97 deletions
|
|
@ -1739,7 +1739,7 @@ bool P_TryMove (AActor *thing, fixed_t x, fixed_t y,
|
|||
if (thing->player && thing->player->isbot && thing->flags & MF_SHOOTABLE)
|
||||
{
|
||||
if (tmsector != thing->Sector
|
||||
&& bglobal.IsDangerous (tmsector))
|
||||
&& bglobal->IsDangerous (tmsector))
|
||||
{
|
||||
thing->player->prev = thing->player->dest;
|
||||
thing->player->dest = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue