SaveGameIterator: Only rescan savegames when asked for count.
commitb069b734aa1e6a12fb732de0e5f8fdf581bf31f5
authorTom Prince <tom.prince@ualberta.net>
Fri, 21 May 2010 20:23:14 +0000 (21 16:23 -0400)
committerTom Prince <tom.prince@ualberta.net>
Sun, 23 May 2010 09:21:36 +0000 (23 05:21 -0400)
tree80f901044f85bd3260d82ea7c108ff29c36dc1f8
parent2d3af4c797906e65fab112a5bbb651f4b137f697
SaveGameIterator: Only rescan savegames when asked for count.

The way this works is that the count is asked for only on opening
the Load or Save screen, or deleting a save game, so that is the
only time it is needed.
gemrb/core/Actions.cpp
gemrb/core/SaveGameIterator.cpp
gemrb/core/SaveGameIterator.h
gemrb/plugins/GUIScript/GUIScript.cpp