From e5fae2f8fc7e9da9de46ef830d05be3fc8ee2b89 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sat, 30 Aug 2025 03:12:36 -0300 Subject: fix and cleanup `SearchFlightField` --- src/operate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/operate.cc') diff --git a/src/operate.cc b/src/operate.cc index 0808bc8..24004a4 100644 --- a/src/operate.cc +++ b/src/operate.cc @@ -2430,7 +2430,7 @@ void Talk(uint32 CreatureID, int Mode, const char *Addressee, const char *Text, // TODO(fusion): We should probably review this. You'd assume creature // should be a player when talking to any channel. - if(Channel == 0 && (Creature->Type != PLAYER + if(Channel == CHANNEL_GUILD && (Creature->Type != PLAYER || strcmp(((TPlayer*)Creature)->Guild, Subscriber->Guild) != 0)){ continue; } -- cgit v1.2.3