diff options
| author | leak <leakzx@googlemail.com> | 2011-01-20 03:06:51 +0100 |
|---|---|---|
| committer | leak <leakzx@googlemail.com> | 2011-01-20 03:06:51 +0100 |
| commit | dd751242fca2604035f175edc7b8c0cb638f4bef (patch) | |
| tree | 02b1e3e238724b8de22d4a8668fc12b071223801 /src/server/game/Entities | |
| parent | f7af49291bea4497082e62e11480cd070495210e (diff) | |
Core/Spells: Better solution for exploit check (Thanks to manuel)
Readd lost changes from char db type cleanup
Diffstat (limited to 'src/server/game/Entities')
| -rwxr-xr-x | src/server/game/Entities/Player/Player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp index 6a312c5a9b4..935b9ad4b70 100755 --- a/src/server/game/Entities/Player/Player.cpp +++ b/src/server/game/Entities/Player/Player.cpp @@ -17549,11 +17549,11 @@ void Player::_LoadBoundInstances(PreparedQueryResult result) Field* fields = result->Fetch(); bool perm = fields[1].GetBool(); - uint32 mapId = fields[2].GetUInt32(); + uint32 mapId = fields[2].GetUInt16(); uint32 instanceId = fields[0].GetUInt32(); uint8 difficulty = fields[3].GetUInt8(); - time_t resetTime = (time_t)fields[4].GetUInt64(); + time_t resetTime = time_t(fields[4].GetUInt32()); // the resettime for normal instances is only saved when the InstanceSave is unloaded // so the value read from the DB may be wrong here but only if the InstanceSave is loaded // and in that case it is not used |
