From 591fe8351ac2f4de571e92d9c982da5110038cc3 Mon Sep 17 00:00:00 2001 From: Petric Date: Fri, 29 May 2020 19:04:52 +0100 Subject: [PATCH] Fixed type for percentages parameters Green Trade good percent was added twice, and blue was ignored thus causing error --- src/cs_ah_bot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cs_ah_bot.cpp b/src/cs_ah_bot.cpp index b4fa719..078b351 100644 --- a/src/cs_ah_bot.cpp +++ b/src/cs_ah_bot.cpp @@ -182,7 +182,7 @@ public: uint32 greytg = uint32(strtoul(param1, NULL, 0)); uint32 whitetg = uint32(strtoul(param2, NULL, 0)); uint32 greentg = uint32(strtoul(param3, NULL, 0)); - uint32 bluetg = uint32(strtoul(param3, NULL, 0)); + uint32 bluetg = uint32(strtoul(param4, NULL, 0)); uint32 purpletg = uint32(strtoul(param5, NULL, 0)); uint32 orangetg = uint32(strtoul(param6, NULL, 0)); uint32 yellowtg = uint32(strtoul(param7, NULL, 0));