CLI option -canvasfloor

This commit is contained in:
Zeno Rogue committed 2022-04-24 22:57:34 +02:00
1 parent a2f0f89c18
commit e25b8b94c2
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -910,6 +910,11 @@ int read_cheat_args() {
cheat();
gen_wandering = false;
}
else if(argis("-canvasfloor")) {
shift(); canvasfloor = argi();
for(int i=0; i<caflEND; i++) if(appears(mapeditor::canvasFloorName(i), args()))
canvasfloor = i;
}
else if(argis("-hroll")) {
shift();
int i = argi();