Author: silene
Date: Thu Jun 4 09:35:55 2009
New Revision: 36051
URL: http://svn.gna.org/viewcvs/wesnoth?rev=36051&view=rev
Log:
Added comment.
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=36051&r1=36050&r2=36051&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Thu Jun 4 09:35:55 2009
@@ -1203,11 +1203,15 @@
win_objectives += "\n";
win_objectives += win_start;
win_objectives += description;
+ // Note: this ending markup is not at the
correct place; it
+ // should be placed before the first newline of
the description
+ // in order to match the behavior of Wesnoth
1.6, 1.7.0, 1.7+lua.
win_objectives += win_end;
} else if(condition == "lose") {
lose_objectives += "\n";
lose_objectives += lose_start;
lose_objectives += description;
+ // Note: same here.
lose_objectives += lose_end;
} else {
ERR_NG << "unknown condition '" << condition <<
"', ignoring\n";
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits