mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-11 11:31:52 +02:00
remove useless variable
This commit is contained in:
parent
742030bbc0
commit
96c2db4d56
@ -1711,8 +1711,7 @@ void CAdvMapInt::tileHovered(const int3 &mapPos)
|
||||
}
|
||||
else if(const CGHeroInstance * h = curHero())
|
||||
{
|
||||
int3 mapPosCopy = mapPos;
|
||||
const CGPathNode * pnode = LOCPLINT->cb->getPathsInfo(h)->getPathInfo(mapPosCopy);
|
||||
const CGPathNode * pnode = LOCPLINT->cb->getPathsInfo(h)->getPathInfo(mapPos);
|
||||
assert(pnode);
|
||||
|
||||
int turns = pnode->turns;
|
||||
|
Loading…
x
Reference in New Issue
Block a user