mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-06-25 09:29:30 +00:00
Call time func when loading map, to correctly set sky/ground colors.
This commit is contained in:
parent
6d17961b8c
commit
0179dc07ce
|
@ -2057,6 +2057,7 @@ def initMap(x, y, dir)#0
|
|||
setWindow2()
|
||||
skyNum = 9 // default
|
||||
groundNum = 10 // default
|
||||
timeEventFunc = NULL
|
||||
initDisplay(curMapPartition, mapNum, pCurMap, x, y, dir)
|
||||
texturesLoaded = TRUE
|
||||
needRender = FALSE
|
||||
|
@ -2068,6 +2069,7 @@ def initMap(x, y, dir)#0
|
|||
curFullscreenImg = NULL
|
||||
prevClockColor = 99
|
||||
snoozeX1 = -1
|
||||
if timeEventFunc; timeEventFunc(global->b_hour); fin
|
||||
if mapIs3D
|
||||
showCompassDir(dir)
|
||||
showClock()
|
||||
|
|
Loading…
Reference in New Issue
Block a user