fix(Core/Command): Fix issue with waypoint show off (#11111)
* fix(Core/Command): Fix issue with waypoint show off * Update src/server/scripts/Commands/cs_wp.cpp Co-authored-by: Kargatum <dowlandtop@yandex.com> Co-authored-by: Kargatum <dowlandtop@yandex.com>
This commit is contained in:
parent
ba5b764d22
commit
ee08039a52
1 changed files with 1 additions and 1 deletions
|
|
@ -1051,7 +1051,7 @@ public:
|
|||
if (show == "off")
|
||||
{
|
||||
WorldDatabasePreparedStatement* stmt = WorldDatabase.GetPreparedStatement(WORLD_SEL_CREATURE_BY_ID);
|
||||
stmt->SetData(0, 1);
|
||||
stmt->SetArguments(1, 1, 1);
|
||||
|
||||
PreparedQueryResult result = WorldDatabase.Query(stmt);
|
||||
if (!result)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue