Fix TARGET sprites used as switches, introduced in r3679.

git-svn-id: https://svn.eduke32.com/eduke32@3713 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2013-04-28 16:45:29 +00:00
parent 3910456d55
commit 46ccf59c74

View file

@ -3654,7 +3654,7 @@ ACTOR_STATIC void G_MoveActors(void)
{
if (sprite[j].lotag == s->lotag && sprite[j].picnum == s->picnum)
{
if ((sprite[j].hitag!=0) ^ !(sprite[j].cstat&32))
if ((sprite[j].hitag!=0) ^ ((sprite[j].cstat&32)!=0))
{
k = 0;
break;