mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
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:
@@ -672,7 +672,7 @@ Campaign_Stats::AddMoneyEarned(UINT8 aType, INT32 aVal)
|
|||||||
void
|
void
|
||||||
Campaign_Stats::AddConsumption(UINT8 aType, FLOAT aVal)
|
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!" );
|
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, L"Error: Unknown consumption type!" );
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user