فهرست منبع

Rtmoved unused method BattleInfo::getStackT

AlexVinS 9 سال پیش
والد
کامیت
97504364e4
2فایلهای تغییر یافته به همراه0 افزوده شده و 6 حذف شده
  1. 0 5
      lib/BattleState.cpp
  2. 0 1
      lib/BattleState.h

+ 0 - 5
lib/BattleState.cpp

@@ -721,11 +721,6 @@ CStack * BattleInfo::getStack(int stackID, bool onlyAlive /*= true*/)
 	return const_cast<CStack *>(battleGetStackByID(stackID, onlyAlive));
 }
 
-CStack * BattleInfo::getStackT(BattleHex tileID, bool onlyAlive /*= true*/)
-{
-	return const_cast<CStack *>(battleGetStackByPos(tileID, onlyAlive));
-}
-
 BattleInfo::BattleInfo()
 {
 	setBattle(this);

+ 0 - 1
lib/BattleState.h

@@ -107,7 +107,6 @@ struct DLL_LINKAGE BattleInfo : public CBonusSystemNode, public CBattleInfoCallb
 	~BattleInfo(){};
 
 	//////////////////////////////////////////////////////////////////////////
-	CStack * getStackT(BattleHex tileID, bool onlyAlive = true);
 	CStack * getStack(int stackID, bool onlyAlive = true);
 	using CBattleInfoEssentials::battleGetArmyObject;
 	CArmedInstance * battleGetArmyObject(ui8 side) const;