mail[Wesnoth-commits] r44907 - /trunk/src/game_events.cpp


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

Header


Content

Posted by gabrielmorin on July 30, 2010 - 06:12:
Author: gabba
Date: Fri Jul 30 06:12:25 2010
New Revision: 44907

URL: http://svn.gna.org/viewcvs/wesnoth?rev=44907&view=rev
Log:
Whiteboard: also validate after any event that changes the gamestate.

Modified:
    trunk/src/game_events.cpp

Modified: trunk/src/game_events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=44907&r1=44906&r2=44907&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Fri Jul 30 06:12:25 2010
@@ -46,6 +46,7 @@
 #include "wml_exception.hpp"
 #include "play_controller.hpp"
 #include "persist_var.hpp"
+#include "whiteboard/manager.hpp"
 
 #include <boost/scoped_ptr.hpp>
 #include <boost/lexical_cast.hpp>
@@ -3427,6 +3428,7 @@
                        commit();
                }
 
+               resources::whiteboard->on_gamestate_change();
                return result;
        }
 




Related Messages


Powered by MHonArc, Updated Fri Jul 30 06:20:17 2010