diff options
author | Spp <none@none> | 2010-04-15 13:46:37 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-15 13:46:37 +0200 |
commit | f9987206f0e43bcd7a6bdbe8829c21be00c78795 (patch) | |
tree | 9e88263101760cb84a325ca446d071619b2419e4 /src/game/Player.h | |
parent | 0032bb5886af087752163addef7f53bcc130d133 (diff) |
Fix AHBot crashes. Patch based on code from Xeross' repo
Closes issue 1649
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.h')
-rw-r--r-- | src/game/Player.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.h b/src/game/Player.h index 119c70ffe5a..9271f868362 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -1419,7 +1419,7 @@ class Player : public Unit, public GridObject<Player> bool LoadFromDB(uint32 guid, SqlQueryHolder *holder); bool isBeingLoaded() const { return GetSession()->PlayerLoading();} - bool MinimalLoadFromDB(QueryResult_AutoPtr result, uint32 guid); + void Initialize(uint32 guid); static uint32 GetUInt32ValueFromArray(Tokens const& data, uint16 index); static float GetFloatValueFromArray(Tokens const& data, uint16 index); static uint32 GetZoneIdFromDB(uint64 guid); |