aboutsummaryrefslogtreecommitdiff
path: root/src/operate.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-08-30 03:12:36 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-08-30 03:12:36 -0300
commite5fae2f8fc7e9da9de46ef830d05be3fc8ee2b89 (patch)
tree1ed08517a480884c1d5d0ce3c811b8a4cd8da7bd /src/operate.cc
parent28ba2e02ed6fd32f93a4088a40f7656e6902440b (diff)
downloadgame-e5fae2f8fc7e9da9de46ef830d05be3fc8ee2b89.tar.gz
game-e5fae2f8fc7e9da9de46ef830d05be3fc8ee2b89.zip
fix and cleanup `SearchFlightField`
Diffstat (limited to 'src/operate.cc')
-rw-r--r--src/operate.cc2
1 files changed, 1 insertions, 1 deletions
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;
}