Fixed compile
This commit is contained in:
1 parent
013e3f4c0c
commit
32f5286d05
1 file changed
+1
-1
@@ -774,7 +774,7 @@ void WorldSession::SaveTutorialsData(SQLTransaction &trans)
|
||||
|
||||
PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_SEL_HAS_TUTORIALS);
|
||||
stmt->setUInt32(0, GetAccountId());
|
||||
bool hasTutorials = CharacterDatabase.Query(stmt);
|
||||
bool hasTutorials = bool(CharacterDatabase.Query(stmt));
|
||||
// Modify data in DB
|
||||
stmt = CharacterDatabase.GetPreparedStatement(hasTutorials ? CHAR_UPD_TUTORIALS : CHAR_INS_TUTORIALS);
|
||||
for (uint8 i = 0; i < MAX_ACCOUNT_TUTORIAL_VALUES; ++i)
|
||||
|
||||
Reference in new issue
Block a user