1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-03 00:46:55 +02:00

* a bit better stack reversing

* FoWChange uses unordered_set instead of set
This commit is contained in:
mateuszb
2011-01-20 17:25:15 +00:00
parent 898ad292ea
commit 2451c0dea6
16 changed files with 106 additions and 64 deletions

View File

@ -435,7 +435,7 @@ int CGObjectInstance::getSightRadious() const
{
return 3;
}
void CGObjectInstance::getSightTiles(std::set<int3> &tiles) const //returns reference to the set
void CGObjectInstance::getSightTiles(boost::unordered_set<int3, ShashInt3> &tiles) const //returns reference to the set
{
cb->getTilesInRange(tiles, getSightCenter(), getSightRadious(), tempOwner, 1);
}