place items command line option

This commit is contained in:
Zeno Rogue committed 2017-09-30 11:39:00 +02:00
1 parent d7cc886197
commit 064435aea1
2 files changed
+15

No files matched your search

+6
View File
@@ -144,6 +144,12 @@ int arg::readCommon() {
shift(); eItem i = readItem(args());
shift(); items[i] = argi();
}
else if(argis("-IP")) {
PHASE(3) cheater++; timerghost = false;
shift(); eItem i = readItem(args());
shift(); int q = argi();
placeItems(q, i);
}
else if(argis("-M")) {
PHASE(3) cheater++; timerghost = false;
shift(); eMonster m = readMonster(args());