forked from mirror/azerothcore-wotlk
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 <[email protected]> Co-authored-by: Kargatum <[email protected]>
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