(svn r9885) -Fix r9846: some last bitshifts with zoom-levels that were forgotten

-Fix r9846: initialize the zoom level for 'screen', as assuming 0 is not correct
This commit is contained in:
truelight
2007-05-19 23:52:04 +00:00
parent d2c750b2c9
commit ecb8585bd4
4 changed files with 15 additions and 12 deletions

View File

@@ -505,6 +505,8 @@ int ttd_main(int argc, char *argv[])
LoadDriver(MUSIC_DRIVER, _ini_musicdriver);
LoadDriver(VIDEO_DRIVER, _ini_videodriver); // load video last, to prevent an empty window while sound and music loads
_savegame_sort_order = SORT_BY_DATE | SORT_DESCENDING;
/* Initialize the zoom level of the screen to normal */
_screen.zoom = ZOOM_LVL_NORMAL;
/* restore saved music volume */
_music_driver->set_volume(msf.music_vol);