mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Fix additional issues from review
This commit is contained in:
@ -1457,8 +1457,8 @@ bool plNetClientMgr::IFindModifier(plSynchedObject* obj, int16_t classIdx)
|
||||
cnt++;
|
||||
}
|
||||
|
||||
hsAssert(cnt<2, xtl::format("Object %s has multiple SDL modifiers of the same kind (%s)?",
|
||||
obj->GetKeyName(), plFactory::GetNameOfClass(classIdx)).c_str());
|
||||
hsAssert(cnt<2, plString::Format("Object %s has multiple SDL modifiers of the same kind (%s)?",
|
||||
obj->GetKeyName().c_str(), plFactory::GetNameOfClass(classIdx)).c_str());
|
||||
return cnt==0 ? false : true;
|
||||
}
|
||||
|
||||
|
@ -396,9 +396,9 @@ int plNetClientMgr::ISendGameMessage(plMessage* msg)
|
||||
{
|
||||
#if 0
|
||||
hsLogEntry(plNetObjectDebugger::GetInstance()->LogMsg(
|
||||
xtl::format("<SND> object:%s, rcvr %s %s",
|
||||
msg->GetSender(),
|
||||
msg->GetNumReceivers() ? msg->GetReceiver(0)->GetName() : "?",
|
||||
plString::Format("<SND> object:%s, rcvr %s %s",
|
||||
msg->GetSender().GetKeyName().c_str(),
|
||||
msg->GetNumReceivers() ? msg->GetReceiver(0)->GetName().c_str() : "?",
|
||||
netMsgWrap->AsStdString().c_str()).c_str()));
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user