1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-15 02:28:05 +00:00

compile without CAP_INV

This commit is contained in:
Zeno Rogue
2018-02-11 21:39:08 +01:00
parent cab8a0a38f
commit 7ac883c1c2
4 changed files with 12 additions and 3 deletions

View File

@@ -142,6 +142,7 @@ int arg::readCommon() {
PHASE(2);
shift(); stereo::mode = stereo::eStereo(argi());
}
#if CAP_INV
else if(argis("-IU")) {
PHASE(3) cheater++; timerghost = false;
shift(); eItem i = readItem(args());
@@ -154,6 +155,7 @@ int arg::readCommon() {
shift(); inv::extra_orbs[i] += argi();
inv::compute();
}
#endif
else if(argis("-ambush")) {
// make all ambushes use the given number of dogs
// example: hyper -W Hunt -IP Shield 1 -ambush 60