From e6816f4c8d264bd6c556fb3d934242d8f676c845 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 16 Mar 2008 11:16:30 +0000 Subject: [PATCH] Implement feature request in bug #11265. --- src/menu_events.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/menu_events.cpp b/src/menu_events.cpp index ab4bacf1256..fde5e0bc23a 100644 --- a/src/menu_events.cpp +++ b/src/menu_events.cpp @@ -294,7 +294,10 @@ namespace events{ //If the unit is of level > 1, or is close to advancing, //we warn the player about it std::stringstream message; - if(u.level() > 1) { + if (u.upkeep() == 0) { + message << _("My lord, this unit is loyal and requires no upkeep! ") << (u.gender() == unit_race::MALE ? _("Do you really want to dismiss him?") + : _("Do you really want to dismiss her?")); + } else if(u.level() > 1) { message << _("My lord, this unit is an experienced one, having advanced levels! ") << (u.gender() == unit_race::MALE ? _("Do you really want to dismiss him?") : _("Do you really want to dismiss her?"));