mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Update docs, fix inconsistencies between config & code
This commit is contained in:
@@ -49,7 +49,7 @@ bool RemoveObjectEffect::canBeCastAtImpl(spells::Problem & problem, const IGameI
|
||||
if (!isTargetInRange(cb, caster, pos))
|
||||
return false;
|
||||
|
||||
const TerrainTile * t = cb->getTile(pos);
|
||||
const TerrainTile * t = cb->getTileUnchecked(pos);
|
||||
if(!t || t->visitableObjects.empty())
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user