From 9f7c8d7a23e928bd68549e53d013c4f2374bb7f7 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 7 Aug 2010 22:59:46 +0000 Subject: [PATCH] I am an idiot git-svn-id: https://svn.eduke32.com/eduke32@1686 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/gameexec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index a1e9cd0da..feccb45b0 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -387,6 +387,7 @@ GAMEEXEC_STATIC GAMEEXEC_INLINE void VM_AlterAng(int32_t a) { vm.g_t[1] = 0; OSD_Printf(CON_ERROR "%s %d bad moveptr for actor %d (%d)!\n",g_errorLineNum, keyw[g_tw], vm.g_i, vm.g_sp->picnum); + return; } vm.g_sp->xvel += (*moveptr-vm.g_sp->xvel)/5; @@ -525,6 +526,7 @@ GAMEEXEC_STATIC void VM_Move(void) { vm.g_t[1] = 0; OSD_Printf(CON_ERROR "%s %d bad moveptr for actor %d (%d)!\n",g_errorLineNum, keyw[g_tw], vm.g_i, vm.g_sp->picnum); + return; } if (a&dodgebullet && !deadflag)