Fixing field bug and other small stuff

This commit is contained in:
Nekiro
2019-05-03 20:23:37 +02:00
parent 87ba59c649
commit 7ecb9b7b0d
3 changed files with 3 additions and 2 deletions

View File

@@ -179,7 +179,7 @@ ReturnValue Combat::canDoCombat(Creature* caster, Tile* tile, bool aggressive)
return RETURNVALUE_NOTENOUGHROOM;
}*/
if (tile->hasProperty(CONST_PROP_IMMOVABLEBLOCKPATH)) {
if (tile->hasProperty(CONST_PROP_IMMOVABLEBLOCKPATH) && tile->hasProperty(CONST_PROP_IMMOVABLENOFIELDBLOCKPATH)) {
return RETURNVALUE_NOTENOUGHROOM;
}