arg:: correct cheat in -each

This commit is contained in:
Zeno Rogue 2019-08-21 07:29:40 +02:00
parent d75b0cdb0b
commit 63656212e6
1 changed files with 1 additions and 1 deletions

View File

@ -687,7 +687,7 @@ int read_cheat_args() {
}
else if(argis("-each")) {
PHASEFROM(2); start_game();
shift(); int q = argi(); autocheat = true;
shift(); int q = argi(); cheat();
for(int i=0; i<ittypes; i++)
if(itemclass(eItem(i)) == IC_TREASURE)
items[i] = q;