Author: jhinrichs
Date: Tue Apr 21 20:49:04 2009
New Revision: 35099

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35099&view=rev
Log:
Savegame reorganization Step 1: Providing a simpler interface to saving and 
loading.
Doesn't make much sense to create a filename if it is provided. This code might 
have had some use earlier on while refactoring, but doesn't anymore.

Modified:
    trunk/src/savegame.cpp

Modified: trunk/src/savegame.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/savegame.cpp?rev=35099&r1=35098&r2=35099&view=diff
==============================================================================
--- trunk/src/savegame.cpp (original)
+++ trunk/src/savegame.cpp Tue Apr 21 20:49:04 2009
@@ -490,9 +490,6 @@
 void savegame::save_game(const std::string& filename)
 {
        filename_ = filename;
-       if (!interactive_)
-               create_filename();
-
        save_game();
 }
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to