mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 20:29:17 +00:00
arg:: correct cheat in -each
This commit is contained in:
parent
d75b0cdb0b
commit
63656212e6
@ -687,7 +687,7 @@ int read_cheat_args() {
|
|||||||
}
|
}
|
||||||
else if(argis("-each")) {
|
else if(argis("-each")) {
|
||||||
PHASEFROM(2); start_game();
|
PHASEFROM(2); start_game();
|
||||||
shift(); int q = argi(); autocheat = true;
|
shift(); int q = argi(); cheat();
|
||||||
for(int i=0; i<ittypes; i++)
|
for(int i=0; i<ittypes; i++)
|
||||||
if(itemclass(eItem(i)) == IC_TREASURE)
|
if(itemclass(eItem(i)) == IC_TREASURE)
|
||||||
items[i] = q;
|
items[i] = q;
|
||||||
|
Loading…
Reference in New Issue
Block a user