mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +00:00
double to int32 explicit conversion
This commit is contained in:
+1
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user