Author: zookeeper
Date: Tue May 12 12:42:40 2009
New Revision: 35597
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35597&view=rev
Log:
Fixed a typo breaking [switch].
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=35597&r1=35596&r2=35597&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Tue May 12 12:42:40 2009
@@ -2931,7 +2931,7 @@
bool not_found = true;
// execute all cases where the value matches
- foreach (const vconfig &c, cfg.get_children("cases")) {
+ foreach (const vconfig &c, cfg.get_children("case")) {
if (var == c["value"]) {
not_found = false;
handle_event_commands(event_info, c);
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits