Przeglądaj źródła

Fixed creature banks bug of unknown origin.

DjWarmonger 15 lat temu
rodzic
commit
3e644e873d
1 zmienionych plików z 1 dodań i 3 usunięć
  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()