summaryrefslogtreecommitdiffstats
path: root/src/render/MoneyMessages.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-03 22:43:11 +0200
committerGitHub <noreply@github.com>2019-10-03 22:43:11 +0200
commita91df9889d279722b68c272601980bb9b6c03c34 (patch)
tree6ed22776f5a8fb85479baff3673de26b6e74f68a /src/render/MoneyMessages.cpp
parentMerge pull request #220 from Sergeanur/Pickups (diff)
parentFix formatting mistakes (diff)
downloadre3-a91df9889d279722b68c272601980bb9b6c03c34.tar
re3-a91df9889d279722b68c272601980bb9b6c03c34.tar.gz
re3-a91df9889d279722b68c272601980bb9b6c03c34.tar.bz2
re3-a91df9889d279722b68c272601980bb9b6c03c34.tar.lz
re3-a91df9889d279722b68c272601980bb9b6c03c34.tar.xz
re3-a91df9889d279722b68c272601980bb9b6c03c34.tar.zst
re3-a91df9889d279722b68c272601980bb9b6c03c34.zip
Diffstat (limited to 'src/render/MoneyMessages.cpp')
-rw-r--r--src/render/MoneyMessages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/MoneyMessages.cpp b/src/render/MoneyMessages.cpp
index d80be276..53d6db58 100644
--- a/src/render/MoneyMessages.cpp
+++ b/src/render/MoneyMessages.cpp
@@ -55,7 +55,7 @@ void
CMoneyMessages::Render()
{
for (int32 i = 0; i < NUMMONEYMESSAGES; i++) {
- if (aMoneyMessages[i].m_nTimeRegistered)
+ if (aMoneyMessages[i].m_nTimeRegistered != 0)
aMoneyMessages[i].Render();
}
}