aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectMgr.cpp
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-06-21 21:46:15 +0200
committerMachiavelli <none@none>2009-06-21 21:46:15 +0200
commit26b7e344dbefc9dc6123590817a6d7b10cc845a2 (patch)
tree7c7500cca100cfa40dfb171d25af5169eb7d1578 /src/game/ObjectMgr.cpp
parentb3711b95815b2d983afe574094354d2b4a13df4c (diff)
* Correctly update ticket status in database when closing via GM command.
--HG-- branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r--src/game/ObjectMgr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp
index e11bd2b6638..b33898d9c62 100644
--- a/src/game/ObjectMgr.cpp
+++ b/src/game/ObjectMgr.cpp
@@ -8478,7 +8478,8 @@ void ObjectMgr::RemoveGMTicket(GM_Ticket *ticket, int64 source, bool permanently
ticket = NULL;
return;
}
- (*i)->closed = source;
+ (*i)->closed = source;
+ _AddOrUpdateGMTicket((*i));
}
}