FS#3333 - viewport zoom level is not reset when quitting a game after having saved
Attached to Project:
OpenTTD
Opened by fonsinchen (fonsinchen) - Saturday, 28 November 2009, 15:04 GMT
Last edited by Remko Bijker (Rubidium) - Monday, 30 November 2009, 11:30 GMT
Opened by fonsinchen (fonsinchen) - Saturday, 28 November 2009, 15:04 GMT
Last edited by Remko Bijker (Rubidium) - Monday, 30 November 2009, 11:30 GMT
|
DetailsThe zoom level and possible other game parameters are not reset when reloading the title game after abandoning a game that has been saved before. To reproduce load the attached save (or probably any other), save the game again, zoom out, quit the game. The title game is at the same zoom level as the game you have just aborted.
This may be related to the following report: http://www.tt-forums.net/viewtopic.php?f=33&p=834082#p834082 In this game the newgrf configuration from the previous game is carried over to the title game where conflicting settings cause a crash. |
This task depends upon
Closed by Remko Bijker (Rubidium)
Monday, 30 November 2009, 11:30 GMT
Reason for closing: Fixed
Additional comments about closing: in r18351
Monday, 30 November 2009, 11:30 GMT
Reason for closing: Fixed
Additional comments about closing: in r18351
It is:
- load game
- save game
- zoom out (either with mouse scroll or the buttons in the toolbar)
- abandon game
- see a zoomed out intro game
Right? Anyhow, as I said it doesn't happen for me with r18324.
Besides the NewGRF config it likely the configuration for new games. It 'just' isn't loaded in the intro game. To 'prove' this point: create a NewGRF configuration in the main menu, quit the game, start the game, open the console, type gamelog and see that it added NewGRFs even though they are not loaded.
- load game
- zoom out (with key '-' here, but it probably doesn't matter)
- save game
- abandon game
- see zoomed out intro game
Sorry for the confusion. I just checked with r18324, too, and it's 100% reproducible here.
The problem in that forum post was that it doesn't only add the grfs but also partly loads them, so that the food (I think) train passing over the bridge in the title game gets corrupted. That's what the message in the screenshot says. However, I know that's not trunk.
It seems VIEW chunk is for some reason not loaded. Can you check it is loaded? (SaveLoad_VIEW() is called when loading intro game?)
Does it happen when you leave the game using "part" console command?
And with r18324 do you mean: r18324 without modification or r18324 with modifications?