From 46ccf59c745447f982edb795f73051b6f5cf6c28 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sun, 28 Apr 2013 16:45:29 +0000 Subject: [PATCH] Fix TARGET sprites used as switches, introduced in r3679. git-svn-id: https://svn.eduke32.com/eduke32@3713 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/actors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/actors.c b/polymer/eduke32/source/actors.c index 38a604e9c..aa6fe7a07 100644 --- a/polymer/eduke32/source/actors.c +++ b/polymer/eduke32/source/actors.c @@ -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;