1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

fixed rosesmellstand message spam

This commit is contained in:
Zeno Rogue 2020-03-07 04:41:07 +01:00
parent 1ca2847c59
commit 1beec8792a

View File

@ -259,7 +259,8 @@ bool pcmove::movepcto() {
lastmountpos[0] = cwt.at;
if(againstRose(cwt.at, NULL) && d<0 && !scentResistant()) {
addMessage("You just cannot stand in place, those roses smell too nicely.");
if(vmsg())
addMessage("You just cannot stand in place, those roses smell too nicely.");
return false;
}
@ -361,8 +362,7 @@ bool pcmove::swing() {
mirror::act(origd, mirror::SPINMULTI | mirror::ATTACK);
if(monstersnear(cwt.at, moPlayer, nullptr, cwt.at)) {
changes.rollback();
if(errormsgs && !checkonly)
if(vmsg())
wouldkill("You would be killed by %the1!");
return false;
}