From 1e7176b3d8236b6f6b32afde5d3d2b35ffa23c61 Mon Sep 17 00:00:00 2001 From: collett Date: Thu, 26 Jan 2023 22:30:42 +0900 Subject: [PATCH] minor fix --- src/common/Database/ZoneDbConnection.cpp | 2 +- src/world/Manager/HousingMgr.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/common/Database/ZoneDbConnection.cpp b/src/common/Database/ZoneDbConnection.cpp index cf1020c0..773f8cef 100644 --- a/src/common/Database/ZoneDbConnection.cpp +++ b/src/common/Database/ZoneDbConnection.cpp @@ -258,7 +258,7 @@ void Sapphire::Db::ZoneDbConnection::doPrepareStatements() CONNECTION_BOTH ); prepareStatement( HOUSING_HOUSE_DEL, - "DELETE from house WHERE HouseId = ?;", + "DELETE FROM house WHERE HouseId = ?;", CONNECTION_BOTH ); prepareStatement( LAND_INV_SEL_ALL, diff --git a/src/world/Manager/HousingMgr.cpp b/src/world/Manager/HousingMgr.cpp index a99daaa3..fd668fe2 100644 --- a/src/world/Manager/HousingMgr.cpp +++ b/src/world/Manager/HousingMgr.cpp @@ -1755,6 +1755,4 @@ void Sapphire::World::Manager::HousingMgr::removeHouse( Entity::Player& player, terri->removeEstateEntranceEObj( plot ); // missing reply for ClientTrigger RequestEstateHallRemoval - - return; } \ No newline at end of file