From 7f2bf981797ece1c97e9e234b2778d6e826558d9 Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 27 Feb 2011 18:01:49 +0000 Subject: [PATCH] fix monumental fuckup in r1805 that broke pretty much every EDuke32 mod ever git-svn-id: https://svn.eduke32.com/eduke32@1807 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/gameexec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index 68397f810..e58a19353 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -86,14 +86,14 @@ void VM_OnEvent(register int32_t iEventID, register int32_t iActor, register int if (!apScriptGameEvent[iEventID]) return; - insptr = apScriptGameEvent[iEventID]; - { intptr_t *oinsptr=insptr; vmstate_t vm_backup; vmstate_t tempvm = { iActor, iPlayer, lDist, &actor[iActor].t_data[0], &sprite[iActor], 0 }; + insptr = apScriptGameEvent[iEventID]; + Bmemcpy(&vm_backup, &vm, sizeof(vmstate_t)); Bmemcpy(&vm, &tempvm, sizeof(vmstate_t));