Skip to content

Commit

Permalink
Update iologindata_load_player.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Luan Luciano committed Mar 14, 2024
1 parent 5321873 commit 7e47cad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io/functions/iologindata_load_player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ void IOLoginDataLoad::loadPlayerDefaultOutfit(std::shared_ptr<Player> player, DB

// load outfits & addons
std::ostringstream queryOutfits;
queryOutfits << "SELECT `outfit_id`, `addons` FROM `player_outfits` WHERE `player_id` = {:d}", player->getGUID();
queryOutfits << "SELECT `outfit_id`, `addons` FROM `player_outfits` WHERE `player_id` = " << player->getGUID();

DBResult_ptr result1 = Database::getInstance().storeQuery(queryOutfits.str());
if (result1) {
Expand All @@ -266,7 +266,7 @@ void IOLoginDataLoad::loadPlayerDefaultOutfit(std::shared_ptr<Player> player, DB

// load mounts
std::ostringstream queryMounts;
queryMounts << "SELECT `mount_id` FROM `player_mounts` WHERE `player_id` = {:d}", player->getGUID();
queryMounts << "SELECT `mount_id` FROM `player_mounts` WHERE `player_id` = " << player->getGUID();

DBResult_ptr result2 = Database::getInstance().storeQuery(queryMounts.str());
if (result2) {
Expand Down

0 comments on commit 7e47cad

Please sign in to comment.