mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Update Nullkiller.cpp
Use Enum for Gold.
This commit is contained in:
@@ -655,7 +655,7 @@ bool Nullkiller::handleTrading()
|
||||
|
||||
bool okToSell = false;
|
||||
|
||||
if (i == 6)
|
||||
if (i == GameResID::GOLD)
|
||||
{
|
||||
if (income[i] > 0 && !buildAnalyzer->isGoldPressureHigh())
|
||||
okToSell = true;
|
||||
|
||||
Reference in New Issue
Block a user