*Fix a crash during loading scripts. Thanks to nissen.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-22 18:38:42 -06:00
parent d64436a5e4
commit b5abc43ad5

View File

@@ -970,11 +970,6 @@ void LoadDatabase()
}
outstring_log("SD2: Loading EventAI scripts for %u creature(s)...", uiEAICreatureCount);
if (result)
{
uiEAICreatureCount = result->GetRowCount();
delete result;
}
//Gather event data
result = TScriptDB.PQuery("SELECT id, creature_id, event_type, event_inverse_phase_mask, event_chance, event_flags, "