1
0
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:
Dydzio 2017-07-18 14:00:30 +02:00 committed by ArseniyShestakov
parent 2da3d8a563
commit 8314e8234f

View File

@ -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;
}