mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-04 09:47:46 +00:00
Initialize all lands to state 1
This commit is contained in:
parent
c7cb95175d
commit
12cb928f33
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ Core::Land::~Land()
|
||||||
|
|
||||||
void Core::Land::load()
|
void Core::Land::load()
|
||||||
{
|
{
|
||||||
|
m_land.houseSize = 1;
|
||||||
|
m_land.houseState = 1;
|
||||||
// setPreset( 262145 );
|
// setPreset( 262145 );
|
||||||
/* auto pDb = g_fw.get< Db::DbWorkerPool< Db::ZoneDbConnection > >();
|
/* auto pDb = g_fw.get< Db::DbWorkerPool< Db::ZoneDbConnection > >();
|
||||||
auto res = pDb->query( "SELECT * FROM land WHERE Id = " + std::to_string( m_landKey ) );
|
auto res = pDb->query( "SELECT * FROM land WHERE Id = " + std::to_string( m_landKey ) );
|
||||||
|
|
Loading…
Add table
Reference in a new issue