Prevented hitting of set keys if controller is set to none.

This commit is contained in:
n-a-c-h
2004-08-03 06:31:12 +00:00
parent 6007c5b37d
commit 008fc19a60

View File

@@ -582,7 +582,15 @@ ProcessMouseButtons:
cmp byte[GUICBHold],20
je near SkipMovie
cmp byte[GUICBHold],40
je near SetAllKeys
jne .notClickedSetKeys
push ebx
mov ebx,[GUIcurrentinputcursloc]
mov bl,[GUIInputRefF+ebx]
cmp bl,0
pop ebx
je .notClickedSetKeys
jmp near SetAllKeys
.notClickedSetKeys
cmp byte[GUICBHold],50
jne .notstartcheat
call CheatCodeSearchInit