mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-07-06 07:29:13 +00:00
Fix return to 2D map from automap.
This commit is contained in:
parent
6468c0fef1
commit
ba46785fec
@ -2983,7 +2983,12 @@ end
|
|||||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// Load the automap engine and display the map
|
// Load the automap engine and display the map
|
||||||
def showAutomap()#1
|
def showAutomap()#1
|
||||||
|
word x, y
|
||||||
|
getPos(@x, @y)
|
||||||
loadEngine(MOD_AUTOMAP)=>automap_show()
|
loadEngine(MOD_AUTOMAP)=>automap_show()
|
||||||
|
if !mapIs3D
|
||||||
|
setPos(x, y) // Force tile engine to reload its maps and textures
|
||||||
|
fin
|
||||||
returnFromEngine(TRUE)
|
returnFromEngine(TRUE)
|
||||||
return 0
|
return 0
|
||||||
end
|
end
|
||||||
|
@ -1169,8 +1169,7 @@ SETPOS:
|
|||||||
+loadSection SE_MAP_LOC
|
+loadSection SE_MAP_LOC
|
||||||
JSR FINISH_MAP_LOAD
|
JSR FINISH_MAP_LOAD
|
||||||
|
|
||||||
; And finally, render the first frame.
|
; Let the client choose when to render the first frame.
|
||||||
JSR DRAW
|
|
||||||
!if DEBUG { JSR .dbg }
|
!if DEBUG { JSR .dbg }
|
||||||
RTS
|
RTS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user