Browse Source

Fix water wheel gold amount (#348)

Dydzio 8 years ago
parent
commit
8314e8234f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/mapObjects/CRewardableObject.cpp

+ 1 - 1
lib/mapObjects/CRewardableObject.cpp

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