mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
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
This commit is contained in:
parent
bcadbd372b
commit
7f2bf98179
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue