mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user