final advance implementation
This commit is contained in:
1 parent
57fd9973a1
commit
7d123a9542
4 files changed
+13
-20
No files matched your search
@@ -28,6 +28,7 @@
|
||||
|
||||
#include "Diplomacy.h"
|
||||
|
||||
#include "Global.h"
|
||||
#include "Tribes.h"
|
||||
|
||||
#include <QHash>
|
||||
@@ -75,8 +76,7 @@ QString phraseTreaty(int treatyType)
|
||||
|
||||
QString phraseAdvance(int advance)
|
||||
{
|
||||
// Advance names (Rules.pas/StringTables.pas) aren't ported here.
|
||||
return QStringLiteral("advance #%1").arg(advance);
|
||||
return phrases.lookup(QStringLiteral("ADVANCES"), advance);
|
||||
}
|
||||
|
||||
QString priceToString(int p, std::uint32_t price)
|
||||
|
||||
Reference in new issue
Block a user