From bd06ddcb74718efc41fb47e42d57b0190be066b1 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 23 Nov 2024 01:03:29 +0100 Subject: [PATCH] GameUI: improve comment regarding parked autocomplete suggest position Make sure this doesn't get confused with out of screen while still indexing into the list. --- src/gameui/IConsole.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gameui/IConsole.h b/src/gameui/IConsole.h index 7066098f..f7fed217 100644 --- a/src/gameui/IConsole.h +++ b/src/gameui/IConsole.h @@ -69,7 +69,8 @@ private: // Internals. private: enum ConAutoCompletePos_e { - // Park means the position is out of screen. + // Park means the auto complete position is out of screen and not + // indexing an item. kPark = -1, };