From e5f22f1f00aeb62641303caab3670bb8ea4fcaf9 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Sat, 24 Jan 2015 23:04:55 -0600 Subject: [PATCH] Cleanup Database::BuryCorpsesInInstance --- common/database.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/common/database.cpp b/common/database.cpp index de7099f61..73e8001bf 100644 --- a/common/database.cpp +++ b/common/database.cpp @@ -3874,7 +3874,14 @@ bool Database::CheckInstanceExists(uint16 instance_id) { } void Database::BuryCorpsesInInstance(uint16 instance_id) { - std::string query = StringFormat("UPDATE `character_corpses` SET `is_buried` = 1, `instance_id` =0 WHERE `instance_id` = %u", instance_id); + std::string query = StringFormat( + "UPDATE `character_corpses` " + "SET `is_buried` = 1, " + "`instance_id` = 0 " + "WHERE " + "`instance_id` = %u ", + instance_id + ); auto results = QueryDatabase(query); }