mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-06-30 13:29:36 +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
|
||||
def showAutomap()#1
|
||||
word x, y
|
||||
getPos(@x, @y)
|
||||
loadEngine(MOD_AUTOMAP)=>automap_show()
|
||||
if !mapIs3D
|
||||
setPos(x, y) // Force tile engine to reload its maps and textures
|
||||
fin
|
||||
returnFromEngine(TRUE)
|
||||
return 0
|
||||
end
|
||||
|
|
|
@ -1169,8 +1169,7 @@ SETPOS:
|
|||
+loadSection SE_MAP_LOC
|
||||
JSR FINISH_MAP_LOAD
|
||||
|
||||
; And finally, render the first frame.
|
||||
JSR DRAW
|
||||
; Let the client choose when to render the first frame.
|
||||
!if DEBUG { JSR .dbg }
|
||||
RTS
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user