From 015b4e4578e2cd3f8dbb339c963b9962fd604f8d Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sat, 21 Aug 2021 14:38:27 +0200 Subject: Scripts/Commands: Fix ".wp show info" showing wrong event chance values (cherry picked from commit b64ef1a39adfc37380aba59de506eb394e9c664d) --- src/server/scripts/Commands/cs_wp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/scripts/Commands/cs_wp.cpp b/src/server/scripts/Commands/cs_wp.cpp index 51606163eff..988cd25c92b 100644 --- a/src/server/scripts/Commands/cs_wp.cpp +++ b/src/server/scripts/Commands/cs_wp.cpp @@ -816,7 +816,7 @@ public: uint32 delay = fields[2].GetUInt32(); uint32 flag = fields[3].GetUInt32(); uint32 ev_id = fields[4].GetUInt32(); - uint32 ev_chance = fields[5].GetUInt32(); + uint32 ev_chance = fields[5].GetUInt16(); handler->PSendSysMessage("|cff00ff00Show info: for current point: |r|cff00ffff%u|r|cff00ff00, Path ID: |r|cff00ffff%u|r", point, pathid); handler->PSendSysMessage("|cff00ff00Show info: delay: |r|cff00ffff%u|r", delay); -- cgit v1.2.3