Permalink
Browse files

Core: Fix fieldtype-errors in Guild-code - should now allow loading g…

…uildtabs etc correctly
  • Loading branch information...
1 parent 40c35b0 commit be947eed767da7471667daab92a129b7b067596b @click click committed Mar 29, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/server/game/Guilds/Guild.cpp
@@ -588,11 +588,11 @@ bool Guild::Member::LoadFromDB(Field* fields)
}
SetStats(fields[19].GetString(),
- fields[20].GetUInt8(),
- fields[21].GetUInt8(),
- fields[22].GetUInt32(),
- fields[23].GetUInt32());
- m_logoutTime = fields[24].GetUInt32();
+ fields[20].GetUInt8(), // characters.level
+ fields[21].GetUInt8(), // characters.class
+ fields[22].GetUInt16(), // characters.zone
+ fields[23].GetUInt32()); // characters.account
+ m_logoutTime = fields[24].GetUInt32(); // characters.logout_time
if (!CheckStats())
return false;

1 comment on commit be947ee

Please sign in to comment.