1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 18:59:09 +00:00

Some fixes to make it all compile.

This commit is contained in:
2013-01-07 21:56:14 -08:00
committed by Darryl Pogue
parent c448d11209
commit cb9dab2cca
3 changed files with 5 additions and 5 deletions

View File

@ -990,7 +990,7 @@ void plClient::SetHoldLoadRequests(bool hold)
void plClient::IQueueRoomLoad(const std::vector<plLocation>& locs, bool hold)
{
bool allSameAge = true;
const char* lastAgeName = nil;
plString lastAgeName;
uint32_t numRooms = 0;
for (int i = 0; i < locs.size(); i++)
@ -1016,7 +1016,7 @@ void plClient::IQueueRoomLoad(const std::vector<plLocation>& locs, bool hold)
fLoadRooms.push_back(new LoadRequest(loc, hold));
if (!lastAgeName || strcmp(info->GetAge(), lastAgeName) == 0)
if (lastAgeName.IsNull() || info->GetAge() == lastAgeName)
lastAgeName = info->GetAge();
else
allSameAge = false;