1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Compile fixes.

This commit is contained in:
Frank Zago
2009-08-26 23:38:17 +00:00
parent be76586fab
commit e806399246
2 changed files with 2 additions and 2 deletions

View File

@@ -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)
{

View File

@@ -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