mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
temporarily add TODO's
This commit is contained in:
parent
982e67cea8
commit
807035c321
@ -636,7 +636,7 @@ void AdventureMapInterface::onTileHovered(const int3 &mapPos)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
std::string hlp = CGI->mh->getTerrainDescr(mapPos, false);
|
std::string hlp = CGI->mh->getTerrainDescr(mapPos, false); //TODO: possible to get info about invisible tiles
|
||||||
GH.statusbar()->write(hlp);
|
GH.statusbar()->write(hlp);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -659,7 +659,7 @@ void AdventureMapInterface::onTileHovered(const int3 &mapPos)
|
|||||||
const TerrainTile * t = LOCPLINT->cb->getTileForDimensionDoor(mapPos, LOCPLINT->localState->getCurrentHero());
|
const TerrainTile * t = LOCPLINT->cb->getTileForDimensionDoor(mapPos, LOCPLINT->localState->getCurrentHero());
|
||||||
int3 heroPosition = LOCPLINT->localState->getCurrentArmy()->getSightCenter();
|
int3 heroPosition = LOCPLINT->localState->getCurrentArmy()->getSightCenter();
|
||||||
if(t && t->isClear(LOCPLINT->cb->getTile(heroPosition))/* && isInScreenRange(hpos, mapPos)*/)
|
if(t && t->isClear(LOCPLINT->cb->getTile(heroPosition))/* && isInScreenRange(hpos, mapPos)*/)
|
||||||
CCS->curh->set(Cursor::Map::TELEPORT);
|
CCS->curh->set(Cursor::Map::TELEPORT); //TODO: something wrong with beyond east spell range border cursor on arrogance after TP-ing near underground portal on previous day
|
||||||
else
|
else
|
||||||
CCS->curh->set(Cursor::Map::POINTER);
|
CCS->curh->set(Cursor::Map::POINTER);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user