Fixed an issue where numbers in Europe are saved using European notation and causing the parser to return really large numbers for x and y coordinates when converting from a string to a number.
Set MINSVNVERSION to this commit, since I will be building momentarily.
Cette révision appartient à :
Parent
f27c0909f3
révision
7e3971dce5
|
@ -1,7 +1,7 @@
|
|||
QuestHelper_File["collect.lua"] = "4.0.1.$svnversion$"
|
||||
QuestHelper_Loadtime["collect.lua"] = GetTime()
|
||||
|
||||
local --[[ static ]] MINSVNVERSION = 183
|
||||
local --[[ static ]] MINSVNVERSION = 185
|
||||
local --[[ static ]] PURGEDEV = false
|
||||
local debug_output = false
|
||||
if QuestHelper_File["collect.lua"] == "Development Version" then debug_output = true end
|
||||
|
|
|
@ -14,7 +14,8 @@ local function float(c)
|
|||
if not c then c = -128 end
|
||||
QuestHelper: Assert( c >= -128, string.format("c is too small. It is %s.", tostring(c)))
|
||||
QuestHelper: Assert( c < 128, string.format("c is too big. It is %s.", tostring(c)))
|
||||
return c
|
||||
local ret = tostring(c):gsub(",",".") -- eliminate issues with locales that use a comma as the decimal separator.
|
||||
return ret
|
||||
end
|
||||
|
||||
local function BolusizeLocation(delayed, c, z, x, y)
|
||||
|
|
Référencer dans un nouveau ticket