*Fix a crash during loading scripts. Thanks to nissen.
--HG-- branch : trunk
This commit is contained in:
1 parent
d64436a5e4
commit
b5abc43ad5
1 file changed
-5
@@ -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, "
|
||||
|
||||
Reference in new issue
Block a user