Author: suokko
Date: Mon Jun  9 19:35:29 2008
New Revision: 27073

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27073&view=rev
Log:
Fixed subtition mistakes

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=27073&r1=27072&r2=27073&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Mon Jun  9 19:35:29 2008
@@ -1810,7 +1810,7 @@
                        }
                }
        }
-       static void wml_func_object(event_handler& current_handler, const 
queued_event& event_info, const vconfig& cfg)
+       static void wml_func_object(event_handler& handler, const queued_event& 
event_info, const vconfig& cfg)
        {
                const vconfig filter = cfg.child("filter");
 
@@ -1888,7 +1888,7 @@
                for(vconfig::child_list::const_iterator cmd = commands.begin();
                                cmd != commands.end(); ++cmd) {
                        if(!handler.handle_event(event_info, *cmd)) {
-                               current_handler.mutated() = false;
+                               handler.mutated() = false;
                        }
                }
        }
@@ -3074,7 +3074,7 @@
 
 } // end anonymous namespace (4)
 
-       static bool process_event(event_handler& current_handler, const 
queued_event& ev)
+       static bool process_event(event_handler& handler, const queued_event& 
ev)
        {
                if(handler.disabled())
                        return false;


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

Reply via email to