Fixed stupid bug
This commit is contained in:
@@ -77,23 +77,17 @@ NEWSYM zstart
|
|||||||
|
|
||||||
cmp byte[CmdLineNetPlay],0
|
cmp byte[CmdLineNetPlay],0
|
||||||
je .nocmdlinenetplay
|
je .nocmdlinenetplay
|
||||||
mov eax,[CmdLineTCPIPAddress]
|
mov ecx,28/4
|
||||||
mov [TCPIPAddress],eax
|
mov esi,CmdLineTCPIPAddress
|
||||||
mov eax,[CmdLineTCPIPAddress+4]
|
mov edi,TCPIPAddress
|
||||||
mov [TCPIPAddress+4],eax
|
.netplayloop
|
||||||
mov eax,[CmdLineTCPIPAddress+8]
|
mov eax,[esi]
|
||||||
mov [TCPIPAddress+8],eax
|
add esi,byte 4
|
||||||
mov eax,[CmdLineTCPIPAddress+12]
|
mov [edi],eax
|
||||||
mov [TCPIPAddress+12],eax
|
add edi,byte 4
|
||||||
mov eax,[CmdLineTCPIPAddress+16]
|
dec ecx
|
||||||
mov [TCPIPAddress+16],eax
|
jnz .netplayloop
|
||||||
mov eax,[CmdLineTCPIPAddress+20]
|
xor eax,eax
|
||||||
mov [TCPIPAddress+20],eax
|
|
||||||
mov eax,[CmdLineTCPIPAddress+24]
|
|
||||||
mov [TCPIPAddress+24],eax
|
|
||||||
mov eax,[CmdLineTCPIPAddress+28]
|
|
||||||
mov [TCPIPAddress+28],eax
|
|
||||||
xor eax,eax
|
|
||||||
.nocmdlinenetplay
|
.nocmdlinenetplay
|
||||||
|
|
||||||
call setnoise
|
call setnoise
|
||||||
|
|||||||
Reference in New Issue
Block a user