Skip to content

Commit 5da67df

Browse files
committed
update(chatmanager): Back for windows
1 parent d24a710 commit 5da67df

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/server/chat/Chat.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ std::string formatPlayerMessage(Player* player, CCSPlayerController* controller,
154154
}
155155
void ChatProcessor::PostEvent(CSplitScreenSlot nSlot, bool bLocalOnly, int nClientCount, const uint64* clients, INetworkMessageInternal* pEvent, const CNetMessage* pData, unsigned long nSize, NetChannelBufType_t bufType)
156156
{
157-
#ifndef _WIN32
158157
if (pEvent->GetNetMessageInfo()->m_MessageId == 118) {
159158
PluginUserMessage um(pEvent, (CNetMessage*)pData, (uint64*)clients);
160159
Player* player = g_playerManager->GetPlayer(um.GetInt32("entityindex") - 1);
@@ -181,7 +180,6 @@ void ChatProcessor::PostEvent(CSplitScreenSlot nSlot, bool bLocalOnly, int nClie
181180
um.SetString("msg_name", formatPlayerMessage(player, controller, it->second.c_str(), um.GetRepeatedString("params", 2), true).c_str());
182181
}
183182
}
184-
#endif
185183
}
186184

187185
bool OnClientCommand(int playerid, std::string command);

0 commit comments

Comments
 (0)