1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 23:50:27 +00:00

Update autoplay for #221

This commit is contained in:
Jesse Ruderman 2021-08-09 02:22:12 -07:00
parent 77f6d2db14
commit 85a4dd2683

View File

@ -191,7 +191,7 @@ void randomMove()
// try to use a ranged orb // try to use a ranged orb
cell *ct = cellToTarget(); cell *ct = cellToTarget();
eItem ti = targetRangedOrb(ct, roMouseForce); 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); printf("TARGET %p: %s\n", (void*)ct, tm);
} }
} }