mail[Wesnoth-commits] r24599 - /trunk/src/unit.cpp


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

Header


Content

Posted by esr on March 13, 2008 - 08:38:
Author: esr
Date: Thu Mar 13 08:38:32 2008
New Revision: 24599

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24599&view=rev
Log:
Un-break game state saving.

Modified:
    trunk/src/unit.cpp

Modified: trunk/src/unit.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit.cpp?rev=24599&r1=24598&r2=24599&view=diff
==============================================================================
--- trunk/src/unit.cpp (original)
+++ trunk/src/unit.cpp Thu Mar 13 08:38:32 2008
@@ -1470,6 +1470,8 @@
        std::stringstream sd;
        sd << side_;
        cfg["side"] = sd.str();
+
+       cfg["type"] = type_id();
 
        cfg["gender"] = gender_string(gender_);
 




Related Messages


Powered by MHonArc, Updated Thu Mar 13 09:01:21 2008