aboutsummaryrefslogtreecommitdiff
path: root/src/trinitycore/Master.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-19 16:05:13 -0600
committermegamage <none@none>2008-12-19 16:05:13 -0600
commit400f7b859693eef1043a75a18c369dd871ffb721 (patch)
tree5f480c9380d4125a57cbeb4315ef22ad2ab32a71 /src/trinitycore/Master.cpp
parentcebaa3a703f36efeedc5fd786b6eacb7a93585c2 (diff)
*Temp fix for crash caused by AV creature. Need to find a way to allow summoned creatures to use RandomMovement.
--HG-- branch : trunk
Diffstat (limited to 'src/trinitycore/Master.cpp')
-rw-r--r--src/trinitycore/Master.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trinitycore/Master.cpp b/src/trinitycore/Master.cpp
index 317a3a31a15..eea1606256c 100644
--- a/src/trinitycore/Master.cpp
+++ b/src/trinitycore/Master.cpp
@@ -474,7 +474,7 @@ void Master::clearOnlineAccounts()
"AND id IN (SELECT acctid FROM realmcharacters WHERE realmid = '%d')",realmID);
- CharacterDatabase.Execute("UPDATE characters SET online = 0");
+ CharacterDatabase.Execute("UPDATE characters SET online = 0 WHERE online<>0");
}
/// Handle termination signals