diff options
author | Shauren <shauren.trinity@gmail.com> | 2015-07-21 00:33:36 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2015-07-21 00:33:36 +0200 |
commit | a22e4e121a1e54b2f4154d59623ee4a94a449176 (patch) | |
tree | d4fb01e9f32e3f146062f47638cb1e664568c0de /src/server/game/Garrison/Garrison.cpp | |
parent | 5987391073b0a7a257658ecef51f1df4f0f38842 (diff) |
Core/Misc: Fixing warnings detected by Visual Studio 2015 compiler
Diffstat (limited to 'src/server/game/Garrison/Garrison.cpp')
-rw-r--r-- | src/server/game/Garrison/Garrison.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Garrison/Garrison.cpp b/src/server/game/Garrison/Garrison.cpp index 7040ae65b19..d86252cdfb8 100644 --- a/src/server/game/Garrison/Garrison.cpp +++ b/src/server/game/Garrison/Garrison.cpp @@ -85,7 +85,7 @@ bool Garrison::LoadFromDB(PreparedQueryResult garrison, PreparedQueryResult blue { do { - Field* fields = followers->Fetch(); + fields = followers->Fetch(); uint64 dbId = fields[0].GetUInt64(); uint32 followerId = fields[1].GetUInt32(); @@ -116,7 +116,7 @@ bool Garrison::LoadFromDB(PreparedQueryResult garrison, PreparedQueryResult blue { do { - Field* fields = abilities->Fetch(); + fields = abilities->Fetch(); uint64 dbId = fields[0].GetUInt64(); GarrAbilityEntry const* ability = sGarrAbilityStore.LookupEntry(fields[1].GetUInt32()); |