From 9c8c6f421e0d68e53b6c3aa951ae678a9a113696 Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 3 Oct 2006 01:17:01 +0000 Subject: [PATCH] This fixes a problem with using 'ifp' from within actors other than APLAYER. git-svn-id: https://svn.eduke32.com/eduke32@306 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/gameexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index e9759e390..2b33a9be8 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -5351,7 +5351,7 @@ SKIPJIBS: l = *insptr; j = 0; - s = g_sp->xvel; + s = sprite[ps[g_p].i].xvel; if( (l&8) && ps[g_p].on_ground && (sync[g_p].bits&2) ) j = 1;