1
0
Bifurcation 0

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 à :
Nathanial.C.Jones 2011-06-19 16:28:27 +00:00
Parent f27c0909f3
révision 7e3971dce5
2 fichiers modifiés avec 3 ajouts et 2 suppressions

Voir le fichier

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

Voir le fichier

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