mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
This commit is contained in:
parent
a5120c0a7c
commit
7dac49cf9c
@ -82,7 +82,7 @@ void PlayerbotDbStore::Reset(PlayerbotAI* botAI)
|
|||||||
{
|
{
|
||||||
ObjectGuid::LowType guid = botAI->GetBot()->GetGUID().GetCounter();
|
ObjectGuid::LowType guid = botAI->GetBot()->GetGUID().GetCounter();
|
||||||
|
|
||||||
PlayerbotsDatabasePreparedStatement* stmt = PlayerbotsDatabase.GetPreparedStatement(PLAYERBOTS_DEL_CUSTOM_STRATEGY);
|
PlayerbotsDatabasePreparedStatement* stmt = PlayerbotsDatabase.GetPreparedStatement(PLAYERBOTS_DEL_DB_STORE);
|
||||||
stmt->SetData(0, guid);
|
stmt->SetData(0, guid);
|
||||||
PlayerbotsDatabase.Execute(stmt);
|
PlayerbotsDatabase.Execute(stmt);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user