ref: 542731b6a936829de3d324823035a7b64719c053
parent: 7f44c0aab0dcdba44b7bb4843f348fd4b8726edc
author: Tanguy Fautre <[email protected]>
date: Wed Feb 12 17:24:14 EST 2020
Fix bad logic when selecting 1-N GRP file (and another warning pointing to this mistake).
--- a/Game/src/game.c
+++ b/Game/src/game.c
@@ -7993,7 +7993,7 @@
kbdKey = getch();
while(kbdKey < '1' || kbdKey > ('0' + i));
printf("%c\n", kbdKey);
- grpID = groupfile[kbdKey-'1'];
+ grpID = kbdKey-'1';
}