mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-12-18 23:47:11 +01:00
Fixing field bug and other small stuff
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user