Removed initial world query

The world is queried once the client has the player's character.
This commit is contained in:
Kayne Ruse
2015-03-13 19:12:34 +11:00
parent ca6afb72ad
commit d2bb3575fc
6 changed files with 6 additions and 12 deletions
+1
View File
@@ -21,6 +21,7 @@ mapMaker.edges.south = 16
mapMaker.edges.east = 1
mapMaker.edges.west = -1
--TODO: (1) path system
--use these macros (mapped to "overworld.bmp" for now) to smooth the region's edges
function mapMaker.SmoothEdgesSimple(r)
--make and pad an array to use
+1 -1
View File
@@ -59,7 +59,7 @@ createTrigger("door 1", overworld, 128, -128, function(entity)
end
local x, y = characterAPI.GetOrigin(entity)
characterAPI.SetRoomIndex(entity, uidTwo) --TODO: (1) take exit coordinates as a parameter
characterAPI.SetRoomIndex(entity, uidTwo) --TODO: (0) take exit coordinates as a parameter
characterAPI.SetOrigin(entity, 0, 0)
networkAPI.PumpCharacterUpdate(entity)
end)