2
0
Эх сурвалжийг харах

Fixed creature banks bug of unknown origin.

DjWarmonger 15 жил өмнө
parent
commit
3e644e873d

+ 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()