mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-05 23:28:14 +02:00
* saving system options
* saving hero direction * minor changes in saving
This commit is contained in:
@@ -1462,7 +1462,7 @@ void CAdvMapInt::show(SDL_Surface *to)
|
||||
++heroAnim;
|
||||
|
||||
//if advmap needs updating AND (no dialog is shown OR ctrl is pressed)
|
||||
if((animValHitCount % (4/LOCPLINT->mapScrollingSpeed)) == 0
|
||||
if((animValHitCount % (4/LOCPLINT->sysOpts.mapScrollingSpeed)) == 0
|
||||
&&
|
||||
(LOCPLINT->topInt() == this)
|
||||
|| SDL_GetKeyState(NULL)[SDLK_LCTRL]
|
||||
|
||||
Reference in New Issue
Block a user