[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src playlevel.cpp
From: |
ott |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src playlevel.cpp |
Date: |
Thu, 12 May 2005 16:42:17 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: ott <address@hidden> 05/05/12 20:42:16
Modified files:
src : playlevel.cpp
Log message:
mention 100 gold minimum next scenario (#12987)
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/playlevel.cpp.diff?tr1=1.205&tr2=1.206&r1=text&r2=text
Patches:
Index: wesnoth/src/playlevel.cpp
diff -u wesnoth/src/playlevel.cpp:1.205 wesnoth/src/playlevel.cpp:1.206
--- wesnoth/src/playlevel.cpp:1.205 Thu May 5 22:24:40 2005
+++ wesnoth/src/playlevel.cpp Thu May 12 20:42:16 2005
@@ -1,4 +1,4 @@
-/* $Id: playlevel.cpp,v 1.205 2005/05/05 22:24:40 ott Exp $ */
+/* $Id: playlevel.cpp,v 1.206 2005/05/12 20:42:16 ott Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -851,8 +851,13 @@
}
// xgettext:no-c-format
- report << "\n" << _("80% of gold is
retained for the next scenario") << "\n"
- << _("Retained Gold: ") <<
player->gold;
+ // 125 == 100 / 80%
+ if (player->gold >= 125) {
+ report << "\n" << _("80% of
gold is retained for the next scenario") << "\n"
+ << _("Retained Gold: ")
<< player->gold;
+ } else {
+ report << "\n" << _("100 gold
will be available for the next scenario") << "\n" << _("Retained Gold: ") <<
player->gold;
+ }
}
}
- [Wesnoth-cvs-commits] wesnoth/src playlevel.cpp,
ott <=