mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 21:32:52 +01:00
Replace some PQuery/PExecute by more simple Query/Execute
Original patch by hunuza, extended to whole code Closses issue 1446 --HG-- branch : trunk
This commit is contained in:
@@ -1278,7 +1278,7 @@ void World::SetInitialWorldSettings()
|
||||
loginDatabase.PExecute("UPDATE realmlist SET icon = %u, timezone = %u WHERE id = '%d'", server_type, realm_zone, realmID);
|
||||
|
||||
///- Remove the bones after a restart
|
||||
CharacterDatabase.PExecute("DELETE FROM corpse WHERE corpse_type = '0'");
|
||||
CharacterDatabase.Execute("DELETE FROM corpse WHERE corpse_type = '0'");
|
||||
|
||||
///- Load the DBC files
|
||||
sLog.outString("Initialize data stores...");
|
||||
|
||||
Reference in New Issue
Block a user