1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00

Compile fixes for previous commit.

This commit is contained in:
DjWarmonger
2012-06-13 14:11:18 +00:00
parent 9d2711fb51
commit ef250fcb8f
3 changed files with 4 additions and 8 deletions

View File

@ -8,6 +8,7 @@
#include "../lib/CGameState.h"
#include "../lib/CGeneralTextHandler.h"
#include "../lib/NetPacks.h"
#include "../lib/CHeroHandler.h"
#include "CAdvmapInterface.h"
#include "CAnimation.h"
#include "CGameInfo.h"
@ -527,12 +528,7 @@ void CMinimap::moveAdvMapSelection()
int3 mapSizes = LOCPLINT->cb->getMapSize();
int3 newLocation =
{
si32(mapSizes.x * dx),
si32(mapSizes.y * dy),
si32(level)
};
int3 newLocation (mapSizes.x * dx, mapSizes.y * dy, level);
adventureInt->centerOn(newLocation);