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:
Malcrom
2022-03-22 21:48:31 -03:00
committed by GitHub
parent ba5b764d22
commit ee08039a52

View File

@@ -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)