mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix water wheel gold amount (#348)
This commit is contained in:
parent
2da3d8a563
commit
8314e8234f
@ -1088,7 +1088,7 @@ void CGVisitableOPW::setPropertyDer(ui8 what, ui32 val)
|
||||
if (ID == Obj::WATER_WHEEL)
|
||||
{
|
||||
auto& reward = info[0].reward.resources[Res::GOLD];
|
||||
if(info[0].numOfGrants == 0)
|
||||
if(cb->getDate() > 7)
|
||||
{
|
||||
reward = 1000;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user