- fixed some conversion errors in A_StalkerLookInit.

This commit is contained in:
Christoph Oelckers 2016-12-11 13:17:50 +01:00
parent 40355f6298
commit 0f9758bb75

View file

@ -67,7 +67,7 @@ class Stalker : Actor
STLK QRST 4; STLK QRST 4;
STLK U 4 A_NoBlocking; STLK U 4 A_NoBlocking;
STLK VW 4; STLK VW 4;
STLK "XYZ[" 4 Bright; STLK XYZ[ 4 Bright;
Stop; Stop;
} }
@ -86,7 +86,7 @@ class Stalker : Actor
void A_StalkerLookInit () void A_StalkerLookInit ()
{ {
State st; State st;
if (!bNoGravity) if (bNoGravity)
{ {
st = FindState("LookCeiling"); st = FindState("LookCeiling");
} }
@ -94,7 +94,7 @@ class Stalker : Actor
{ {
st = FindState("LookFloor"); st = FindState("LookFloor");
} }
if (st.NextState != st) if (st != CurState.NextState)
{ {
SetState (st); SetState (st);
} }