Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
maxr
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Bernd Kosmahl
maxr
Commits
3140ecc0
Commit
3140ecc0
authored
Sep 03, 2017
by
nonsinn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed #1017 gold raf will now show gold on idle mode
parent
9ce29df5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
src/game/data/units/building.cpp
src/game/data/units/building.cpp
+9
-1
No files found.
src/game/data/units/building.cpp
View file @
3140ecc0
...
...
@@ -280,7 +280,6 @@ string cBuilding::getStatusStr (const cPlayer* whoWantsToKnow, const cUnitsData&
sText
+=
iToStr
(
getOwner
()
->
getCredits
());
return
sText
;
}
return
lngPack
.
i18n
(
"Text~Comp~Working"
);
}
...
...
@@ -293,6 +292,15 @@ string cBuilding::getStatusStr (const cPlayer* whoWantsToKnow, const cUnitsData&
else
if
(
isManualFireActive
())
return
lngPack
.
i18n
(
"Text~Comp~ReactionFireOff"
);
if
(
staticData
->
convertsGold
&&
getOwner
()
==
whoWantsToKnow
&&
!
isUnitWorking
())
{
string
sText
;
sText
=
lngPack
.
i18n
(
"Text~Comp~Waits"
)
+
"
\n
"
;
sText
+=
lngPack
.
i18n
(
"Text~Title~Credits"
)
+
lngPack
.
i18n
(
"Text~Punctuation~Colon"
);
sText
+=
iToStr
(
getOwner
()
->
getCredits
());
return
sText
;
}
return
lngPack
.
i18n
(
"Text~Comp~Waits"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment