Fix the crash in the ASM relating to the dynamic allocation of ylookup.

git-svn-id: https://svn.eduke32.com/eduke32@4777 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2014-11-29 06:30:42 +00:00
parent f2fc1a6f15
commit 058c3727e3

View file

@ -964,7 +964,7 @@ CDECLPARAM ecx,0,5
CDECLPARAM edi,1,5
push ebp
mov eax, dword ylookup
mov eax, dword [ylookup]
mov eax, dword [eax+ecx*4]
add eax, edi
mov dword [machvline4end+2], eax
@ -1115,7 +1115,7 @@ CDECLPARAM ecx,0,5
CDECLPARAM edi,1,5
push ebp
mov eax, dword ylookup
mov eax, dword [ylookup]
mov eax, dword [eax+ecx*4]
add eax, edi
mov dword [promachvline4end1+2], eax