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) {
102102 memcpy (msg.szAnnounceMsg , announcement->szAnnounceMsg , sizeof (msg.szAnnounceMsg ));
103103 std::map<CNSocket*, Player*>::iterator it;
104104
105+ // This value is completely arbitrary, but these make the most sense when you consider the architecture of the game
105106 switch (announcement->iAreaType ) {
106107 case 0 : // area (all players in viewable chunks)
107108 sock->sendPacket (msg, P_FE2CL_GM_REP_PC_ANNOUNCE);
108109 PlayerManager::sendToViewable (sock, msg, P_FE2CL_GM_REP_PC_ANNOUNCE);
109110 break ;
110- case 1 : // shard
111- case 2 : // world
112- break ; // not applicable to OpenFusion
111+ case 1 : // channel
112+ case 2 : // shard
113113 case 3 : // global (all players)
114114 for (it = PlayerManager::players.begin (); it != PlayerManager::players.end (); it++) {
115115 CNSocket* allSock = it->first ;
You can’t perform that action at this time.
0 commit comments