Frank Zago преди 16 години
родител
ревизия
e806399246
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      client/CBattleInterface.cpp
  2. 1 1
      hch/CHeroHandler.h

+ 1 - 1
client/CBattleInterface.cpp

@@ -3227,7 +3227,7 @@ CBattleInterface::SiegeHelper::~SiegeHelper()
 std::string CBattleInterface::SiegeHelper::getSiegeName(ui16 what, ui16 additInfo) const
 {
 	char buf[100];
-	itoa(additInfo, buf, 10);
+	SDL_itoa(additInfo, buf, 10);
 	std::string addit(buf);
 	switch(what)
 	{

+ 1 - 1
hch/CHeroHandler.h

@@ -108,7 +108,7 @@ public:
 	};
 	std::vector<SBallisticsLevelInfo> ballistics; //info about ballistics ability per level; [0] - none; [1] - basic; [2] - adv; [3] - expert
 
-	std::vector<std::pair<int, int>> wallPositions[F_NUMBER]; //positions of different pieces of wall <x, y>
+	std::vector<std::pair<int, int> > wallPositions[F_NUMBER]; //positions of different pieces of wall <x, y>
 	void loadWallPositions();
 
 	std::map<int, CObstacleInfo> obstacles; //info about obstacles that may be placed on battlefield