renamed the global variable 'which' to 'who_kills_me' for clarity and bug prevention (would be better still to remove it)

This commit is contained in:
Zeno Rogue committed 2018-06-26 00:56:46 +02:00
1 parent 29f97227e0
commit 87dc7dcd62
2 files changed
+17 -18

No files matched your search

+2 -3
View File
@@ -1238,9 +1238,8 @@ eItem targetRangedOrb(cell *c, orbAction a) {
else if(jumpstate == 2 && c->wall) {
addMessage(XLAT("Cannot jump on %the1!", c->wall));
}
else if(jumpstate == 3) {
addMessage(XLAT("%The1 would get you there!", which));
}
else if(jumpstate == 3)
wouldkill("%The1 would get you there!");
else if(items[itOrbAir] && c->monst) {
addMessage(XLAT("%The1 is immune to wind!", c->monst));
}