1
0
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:
Michał W. Urbańczyk
2009-07-18 03:13:13 +00:00
parent d1d2823c58
commit eb40ade906
11 changed files with 204 additions and 97 deletions

View File

@@ -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]