diff options
author | megamage <none@none> | 2009-03-22 18:38:42 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-22 18:38:42 -0600 |
commit | b5abc43ad54434dda4494fd386834be6a83d629f (patch) | |
tree | 7d5d0bd2acb3a2365838c1055e2ad7763ca57501 /src/bindings/scripts/ScriptMgr.cpp | |
parent | d64436a5e4f14d90e47cbc558b8ef1c516987739 (diff) |
*Fix a crash during loading scripts. Thanks to nissen.
--HG--
branch : trunk
Diffstat (limited to 'src/bindings/scripts/ScriptMgr.cpp')
-rw-r--r-- | src/bindings/scripts/ScriptMgr.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/bindings/scripts/ScriptMgr.cpp b/src/bindings/scripts/ScriptMgr.cpp index 54425873632..b3389c3676c 100644 --- a/src/bindings/scripts/ScriptMgr.cpp +++ b/src/bindings/scripts/ScriptMgr.cpp @@ -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, " |