mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
fix typo
This commit is contained in:
@@ -79,7 +79,7 @@ public:
|
|||||||
bool applyOnLobbyHandler(CServerHandler * handler, void * pack) const override
|
bool applyOnLobbyHandler(CServerHandler * handler, void * pack) const override
|
||||||
{
|
{
|
||||||
T * ptr = static_cast<T *>(pack);
|
T * ptr = static_cast<T *>(pack);
|
||||||
logNetwork->trace("\tImmidiately apply on lobby: %s", typeList.getTypeInfo(ptr)->name());
|
logNetwork->trace("\tImmediately apply on lobby: %s", typeList.getTypeInfo(ptr)->name());
|
||||||
return ptr->applyOnLobbyHandler(handler);
|
return ptr->applyOnLobbyHandler(handler);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -370,7 +370,7 @@ void CVCMIServer::announcePack(std::unique_ptr<CPackForLobby> pack)
|
|||||||
{
|
{
|
||||||
for(auto c : connections)
|
for(auto c : connections)
|
||||||
{
|
{
|
||||||
// FIXME: we need to avoid senting something to client that not yet get answer for LobbyClientConnected
|
// FIXME: we need to avoid sending something to client that not yet get answer for LobbyClientConnected
|
||||||
// Until UUID set we only pass LobbyClientConnected to this client
|
// Until UUID set we only pass LobbyClientConnected to this client
|
||||||
if(c->uuid == uuid && !dynamic_cast<LobbyClientConnected *>(pack.get()))
|
if(c->uuid == uuid && !dynamic_cast<LobbyClientConnected *>(pack.get()))
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user