- Added support for scaled textures to DCanvas::DrawTexture.
- Changed deh.MaxHealth use to be consistent with other source ports. - Added NULL pointer checks to APlayerPawn's state set functions. If these remove the player from the game a crash is the inevitable result. SVN r325 (trunk)
This commit is contained in:
parent
4999c3b4aa
commit
06630b0fee
6 changed files with 39 additions and 33 deletions
|
|
@ -1426,6 +1426,7 @@ AActor *P_CheckOnmobj (AActor *thing)
|
|||
oldz = thing->z;
|
||||
P_FakeZMovement (thing);
|
||||
good = P_TestMobjZ (thing, false);
|
||||
|
||||
thing->z = oldz;
|
||||
|
||||
return good ? NULL : onmobj;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue