aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2026-03-25 17:53:42 -0300
committerfusion32 <marcopuzziello@gmail.com>2026-03-25 17:53:42 -0300
commit995f50a9847a59aabf6d953ee5d7bbbcec7103db (patch)
treed0be03ff189d89015710a86d305cd0d949007521
parent370842756ab50b53ca1a9f5787b2750f3e3d9cd8 (diff)
downloadgame-995f50a9847a59aabf6d953ee5d7bbbcec7103db.tar.gz
game-995f50a9847a59aabf6d953ee5d7bbbcec7103db.zip
fix issue with whisper "pspsps" condition
-rw-r--r--src/operate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/operate.cc b/src/operate.cc
index 96aa0c1..b67b3dd 100644
--- a/src/operate.cc
+++ b/src/operate.cc
@@ -2367,7 +2367,7 @@ void Talk(uint32 CreatureID, int Mode, const char *Addressee, const char *Text,
continue;
}
- if(DistanceX > 1 && DistanceY > 1){
+ if(DistanceX > 1 || DistanceY > 1){
SendTalk(Spectator->Connection, 0, Creature->Name, Mode,
Creature->posx, Creature->posy, Creature->posz,
"pspsps");