- fixed: The Floor_RaiseAndCrush types in Doom wait if blocked, therefore need Hexen crush mode.

- fixed: Angle conversion in P_SpawnMapThing did not work for negative values due to use of an unsigned multiplication.


SVN r3053 (trunk)
This commit is contained in:
Christoph Oelckers 2010-12-16 14:39:17 +00:00
commit 42de20a7e4
2 changed files with 5 additions and 5 deletions

View file

@ -4336,7 +4336,7 @@ AActor *P_SpawnMapThing (FMapThing *mthing, int position)
mobj->tid = mthing->thingid;
mobj->AddToHash ();
mobj->PrevAngle = mobj->angle = (DWORD)((mthing->angle * UCONST64(0x100000000)) / 360);
mobj->PrevAngle = mobj->angle = (DWORD)((mthing->angle * CONST64(0x100000000)) / 360);
// Check if this actor's mapthing has a conversation defined
if (mthing->Conversation > 0)