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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user