Fixed cosmetic bug in cheat window when removing cheats (bug #15).

This commit is contained in:
jbo_85
2005-10-16 11:45:33 +00:00
parent e46e2c2857
commit 86ea624ab9

View File

@@ -486,7 +486,14 @@ CheatCodeRemove:
je .okay
cmp eax,[NumCheats]
jne .okay
dec dword[GUIcurrentcheatcursloc]
dec eax
mov [GUIcurrentcheatcursloc],eax
sub eax,11
mov [GUIcurrentcheatviewloc],eax
test dword[GUIcurrentcheatviewloc],80000000h
jz .noview
mov dword[GUIcurrentcheatviewloc],0
.noview
.okay
cmp byte[NumCheats],0
jne .cheatexists