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:
Spp
2010-04-30 11:21:25 +02:00
parent 19bed20036
commit 1bc2a9fd4a
9 changed files with 17 additions and 17 deletions

View File

@@ -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...");