File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -102,14 +102,14 @@ static void announcementHandler(CNSocket* sock, CNPacketData* data) {
102
102
memcpy (msg.szAnnounceMsg , announcement->szAnnounceMsg , sizeof (msg.szAnnounceMsg ));
103
103
std::map<CNSocket*, Player*>::iterator it;
104
104
105
+ // This value is completely arbitrary, but these make the most sense when you consider the architecture of the game
105
106
switch (announcement->iAreaType ) {
106
107
case 0 : // area (all players in viewable chunks)
107
108
sock->sendPacket (msg, P_FE2CL_GM_REP_PC_ANNOUNCE);
108
109
PlayerManager::sendToViewable (sock, msg, P_FE2CL_GM_REP_PC_ANNOUNCE);
109
110
break ;
110
- case 1 : // shard
111
- case 2 : // world
112
- break ; // not applicable to OpenFusion
111
+ case 1 : // channel
112
+ case 2 : // shard
113
113
case 3 : // global (all players)
114
114
for (it = PlayerManager::players.begin (); it != PlayerManager::players.end (); it++) {
115
115
CNSocket* allSock = it->first ;
You can’t perform that action at this time.
0 commit comments