1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-06-06 08:24:06 +00:00

Fix an accidental reversal of tree-chopping messages.

This commit is contained in:
Arthur O'Dwyer 2017-10-16 23:01:57 -07:00
parent 863a065821
commit 1a63fe799d

View File

@ -6547,13 +6547,13 @@ bool movepcto(int d, int subdir, bool checkonly) {
if(checkonly) return true; if(checkonly) return true;
if(c2->wall == waSmallTree) { if(c2->wall == waSmallTree) {
drawParticles(c2, winf[c2->wall].color, 4); drawParticles(c2, winf[c2->wall].color, 4);
addMessage(XLAT("You start chopping down the tree.")); addMessage(XLAT("You chop down the tree."));
playSound(c2, "hit-axe" + pick123()); playSound(c2, "hit-axe" + pick123());
c2->wall = waNone; c2->wall = waNone;
} }
else if(c2->wall == waBigTree) { else if(c2->wall == waBigTree) {
drawParticles(c2, winf[c2->wall].color, 8); drawParticles(c2, winf[c2->wall].color, 8);
addMessage(XLAT("You chop down the tree.")); addMessage(XLAT("You start chopping down the tree."));
playSound(c2, "hit-axe" + pick123()); playSound(c2, "hit-axe" + pick123());
c2->wall = waSmallTree; c2->wall = waSmallTree;
} }