summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f814ce1)
raw | patch | inline | side by side (parent: f814ce1)
author | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Sun, 27 Aug 2017 16:47:49 +0000 (19:47 +0300) | ||
committer | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Sun, 27 Aug 2017 16:48:59 +0000 (19:48 +0300) |
src/game/g_holmes_ui.inc | patch | blob | history |
index aaf304db0ada4f121e5b291fbe856203cd7e6f74..029b28062f7c1bd94daf27691224f354af275c40 100644 (file)
--- a/src/game/g_holmes_ui.inc
+++ b/src/game/g_holmes_ui.inc
if (ly < 2) then ly := 2;
ly := ly div 8;
if (ly < 0) then ly := 0 else if (ly > High(mItems)) then ly := High(mItems);
- mCurIndex := ly;
- if (mChecks[ly] <> nil) then mChecks[ly]^ := not mChecks[ly]^;
+ if (mChecks[ly] <> nil) then
+ begin
+ mCurIndex := ly;
+ if (mChecks[ly] <> nil) then mChecks[ly]^ := not mChecks[ly]^;
+ end;
end;
end;
end;