Fix compile error with Boost 1.39 (ambiguous overloads)

This was SVN commit r9536.
This commit is contained in:
Ykkrosh 2011-05-20 14:45:04 +00:00
parent 608db46c16
commit 84030de9b7

View File

@ -101,14 +101,14 @@ bool CMapGeneratorWorker::Run()
}
// Init RNG seed
uint32 seed;
uint32_t seed;
if (!m_ScriptInterface->GetProperty(settingsVal.get(), "Seed", seed))
{ // No seed specified
LOGWARNING(L"CMapGeneratorWorker::Run: No seed value specified - using 0");
seed = 0;
}
m_MapGenRNG.seed(seed);
m_MapGenRNG.seed((int32_t)seed);
// Copy settings to global variable
if (!m_ScriptInterface->SetProperty(m_ScriptInterface->GetGlobalObject(), "g_MapSettings", settingsVal))