Fix: error message when repairing

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6733 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2014-01-06 17:04:09 +00:00
parent c0d49d3f16
commit 8044ea108d
+1 -1
View File
@@ -672,7 +672,7 @@ Campaign_Stats::AddMoneyEarned(UINT8 aType, INT32 aVal)
void
Campaign_Stats::AddConsumption(UINT8 aType, FLOAT aVal)
{
if ( aType >= CAMPAIGN_MONEY_MAX )
if ( aType >= CAMPAIGN_CONSUMED_MAX )
{
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, L"Error: Unknown consumption type!" );
return;