mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-26 06:32:26 +00:00
fix: CLogger's ELogMethod is now inside the class and does not use names that are vulnerable to macro destruction (fixes a conflict with Windows system header's #define ERROR)
This was SVN commit r5532.
This commit is contained in:
@@ -348,7 +348,7 @@ uint CSimulation::TranslateMessage(CNetMessage* pMsg, uint clientMask, void* UNU
|
||||
}
|
||||
if (order.m_type == CEntityOrder::ORDER_LAST)
|
||||
{
|
||||
LOG(ERROR, "simulation", "Got an AddWaypoint message for an entity that isn't moving.");
|
||||
LOG(CLogger::Error, "simulation", "Got an AddWaypoint message for an entity that isn't moving.");
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user