mail[Wesnoth-commits] r40393 - /trunk/src/gamestatus.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by guillaume . melquiond on December 25, 2009 - 12:17:
Author: silene
Date: Fri Dec 25 12:17:20 2009
New Revision: 40393

URL: http://svn.gna.org/viewcvs/wesnoth?rev=40393&view=rev
Log:
Avoided warning on campaign exit.

Modified:
    trunk/src/gamestatus.cpp

Modified: trunk/src/gamestatus.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gamestatus.cpp?rev=40393&r1=40392&r2=40393&view=diff
==============================================================================
--- trunk/src/gamestatus.cpp (original)
+++ trunk/src/gamestatus.cpp Fri Dec 25 12:17:20 2009
@@ -569,7 +569,7 @@
        starting_pos = state.starting_pos;
        snapshot = state.snapshot;
        last_selected = state.last_selected;
-       set_variables(state.get_variables());
+       variables = state.variables;
 
        return *this;
 }




Related Messages


Powered by MHonArc, Updated Fri Dec 25 13:20:11 2009