1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-01 23:40:40 +00:00

Merge pull request #288 from jruderman/aenum

Update autoplay for #221
This commit is contained in:
Zeno Rogue 2021-08-09 13:50:02 +02:00 committed by GitHub
commit 30a6a55ba0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,7 +191,7 @@ void randomMove()
// try to use a ranged orb
cell *ct = cellToTarget();
eItem ti = targetRangedOrb(ct, roMouseForce);
const char *tm = (ti == eItem(-1)) ? "orb cannot be used (see message log)" : iinf[ti].name;
const char *tm = iinf[ti].name;
printf("TARGET %p: %s\n", (void*)ct, tm);
}
}