Explorar o código

Fixed creature banks bug of unknown origin.

DjWarmonger %!s(int64=15) %!d(string=hai) anos
pai
achega
3e644e873d
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      hch/CObjectHandler.cpp

+ 1 - 3
hch/CObjectHandler.cpp

@@ -5889,10 +5889,8 @@ void CBank::endBattle (const CGHeroInstance *h, const BattleResult *result) cons
 			cb->showInfoDialog(&iw);
 			cb->giveCreatures (id, h, ourArmy);
 		}
-		//cb->setObjProperty (id, 15, 0); //bc = NULL
+		cb->setObjProperty (id, 15, 0); //bc = NULL
 	}
-	//else //in case of defeat
-	//	initialize();
 }
 
 void CGPyramid::initObj()