Fixes for game load and save.

This commit is contained in:
Martin Haye
2016-09-22 08:04:24 -07:00
parent 9b6c00bebb
commit 1465bea426

View File

@@ -1310,6 +1310,7 @@ def initMap(x, y, dir)
texturesLoaded = TRUE
needRender = FALSE
textDrawn = FALSE
curEngine = NULL
curPortrait = 0
if global->b_curAvatar <> 0 and !mapIs3D
setAvatar(global->b_curAvatar)
@@ -1997,6 +1998,7 @@ end
///////////////////////////////////////////////////////////////////////////////////////////////////
def saveGame
saveMapPos()
loadEngine(MODULE_DISKOPS)=>diskops_saveGame()
returnFromEngine()
end