*Update instance script functions.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-05-11 03:17:13 -05:00
1 parent 4fef015112
commit f9f5d078fd
22 files changed
+83 -56

No files matched your search

+1 -1
View File
@@ -2503,7 +2503,7 @@ void InstanceMap::CreateInstanceData(bool load)
{
Field* fields = result->Fetch();
const char* data = fields[0].GetString();
if(data)
if(data && data != "")
{
sLog.outDebug("Loading instance data for `%s` with id %u", objmgr.GetScriptName(i_script_id), i_InstanceId);
i_data->Load(data);