Important updates

You're now able to use runes and spells on blocking items that are movable #30
Spell effects no longer appear on stairs like RealOTS.
This commit is contained in:
Alejandro Mujica
2019-04-13 18:31:57 -04:00
parent 76c925111d
commit b7a150f324
2 changed files with 6 additions and 2 deletions

View File

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