diff options
Diffstat (limited to 'src/game/Player.h')
-rw-r--r-- | src/game/Player.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Player.h b/src/game/Player.h index a63cb719d6f..a6f1b37f2ab 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -1276,6 +1276,7 @@ class TRINITY_DLL_SPEC Player : public Unit /*********************************************************/ bool LoadFromDB(uint32 guid, SqlQueryHolder *holder); + bool isBeingLoaded() const { return GetSession()->PlayerLoading();} bool MinimalLoadFromDB(QueryResult *result, uint32 guid); static bool LoadValuesArrayFromDB(Tokens& data,uint64 guid); |