mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
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:
1 parent
29f97227e0
commit
87dc7dcd62
2 files changed
+17
-18
No files matched your search
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user