1
0
Bifurcation 0

FACEPALM! Bad variable name, so it is gonna be nil. #%$@ case sensitivity.

Cette révision appartient à :
Nathanial.C.Jones 2011-02-05 04:48:47 +00:00
Parent 6640999728
révision a0605af3be
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

@ -366,7 +366,7 @@ function Astrolabe:GetAbsoluteContinentPosition( C, Z, xPos, yPos )
end
function Astrolabe:FromAbsoluteContinentPosition(C, xPos, yPos)
QuestHelper: Assert(C and xPos and YPos, "One of the arguments is nil. " .. tostring(C) .. " " .. tostring(xPos) .. " " .. tostring(yPos))
QuestHelper: Assert(C and xPos and yPos, "One of the arguments is nil. " .. tostring(C) .. " " .. tostring(xPos) .. " " .. tostring(yPos))
QuestHelper: Assert(WorldMapSize[C], string.format("WorldMapSize[%d] is nil.", C))
QuestHelper: Assert(WorldMapSize[C].width and WorldMapSize[C].height, string.format("WorldMapSize[%d] is missing one or more of its dimensions.", C))
return C, 0, xPos / WorldMapSize[C].width, yPos / WorldMapSize[C].height