mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
fixed rosesmellstand message spam
This commit is contained in:
parent
1ca2847c59
commit
1beec8792a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user