mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Fix UnifiedTime collision
Win32's GetCurrentTime and plUnifiedTime::GetCurrentTime collided. Rather than hacking around the solution by undefining GetCurrentTime, we rename plUnifiedTime::GetCurrentTime to plUnifiedTime::GetCurrent. This fix is less fiddly than an undef hack.
This commit is contained in:
@ -424,7 +424,7 @@ int plNetClientMgr::SendMsg(plNetMessage* msg)
|
||||
msg->SetBit(plNetMessage::kEchoBackToSender, true);
|
||||
}
|
||||
|
||||
msg->SetTimeSent(plUnifiedTime::GetCurrentTime());
|
||||
msg->SetTimeSent(plUnifiedTime::GetCurrent());
|
||||
int channel = IPrepMsg(msg);
|
||||
|
||||
// hsLogEntry( DebugMsg( "<SND> %s %s", msg->ClassName(), msg->AsStdString().c_str()) );
|
||||
|
Reference in New Issue
Block a user