double to int32 explicit conversion

This commit is contained in:
Arthur Dene Ice
2014-05-05 19:01:07 -07:00
parent d66ef01094
commit 554daf7b88
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -2010,7 +2010,7 @@ void NPC::ModifyNPCStat(const char *identifier, const char *newValue)
}
if(id == "loottable_id")
{
loottable_id = atof(val.c_str());
loottable_id = (uint32)atof(val.c_str());
return;
}
if(id == "healscale")