Prevented hitting of set keys if controller is set to none.
This commit is contained in:
@@ -582,7 +582,15 @@ ProcessMouseButtons:
|
|||||||
cmp byte[GUICBHold],20
|
cmp byte[GUICBHold],20
|
||||||
je near SkipMovie
|
je near SkipMovie
|
||||||
cmp byte[GUICBHold],40
|
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
|
cmp byte[GUICBHold],50
|
||||||
jne .notstartcheat
|
jne .notstartcheat
|
||||||
call CheatCodeSearchInit
|
call CheatCodeSearchInit
|
||||||
|
|||||||
Reference in New Issue
Block a user