aboutsummaryrefslogtreecommitdiff
path: root/src/game/WorldSession.h
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-17 07:56:20 +0100
committern0n4m3 <none@none>2009-12-17 07:56:20 +0100
commit863fca80ebbc58af7377c10b322dae3758e40533 (patch)
tree2ec91efa6f7fb9495f533a1d0e7b0d0e85e18020 /src/game/WorldSession.h
parent2b5151f50c32d18e27edac0cce3efc26338dd323 (diff)
Removed some redundant player->SaveToDB calls, original autor balrok
--HG-- branch : trunk
Diffstat (limited to 'src/game/WorldSession.h')
-rw-r--r--src/game/WorldSession.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/WorldSession.h b/src/game/WorldSession.h
index 021a1a49d2b..0e0d5df9480 100644
--- a/src/game/WorldSession.h
+++ b/src/game/WorldSession.h
@@ -118,6 +118,7 @@ class TRINITY_DLL_SPEC WorldSession
bool PlayerLoading() const { return m_playerLoading; }
bool PlayerLogout() const { return m_playerLogout; }
+ bool PlayerLogoutWithSave() const { return m_playerLogout && m_playerSave; }
void SizeError(WorldPacket const& packet, uint32 size) const;
@@ -763,6 +764,7 @@ class TRINITY_DLL_SPEC WorldSession
bool m_playerLoading; // code processed in LoginPlayer
bool m_playerLogout; // code processed in LogoutPlayer
bool m_playerRecentlyLogout;
+ bool m_playerSave;
LocaleConstant m_sessionDbcLocale;
int m_sessionDbLocaleIndex;
uint32 m_latency;