diff --git a/source/glest_game/type_instances/unit.cpp b/source/glest_game/type_instances/unit.cpp index ec7f3256..ba4d42a0 100644 --- a/source/glest_game/type_instances/unit.cpp +++ b/source/glest_game/type_instances/unit.cpp @@ -1362,7 +1362,7 @@ CommandResult Unit::checkCommand(Command *command) const { throw runtime_error(szBuf); } //if not operative or has not command type => fail - if(!isOperative() || command->getUnit()==this || !getType()->hasCommandType(command->getCommandType())){ + if(!isOperative() || command->getUnit()==this || !getType()->hasCommandType(command->getCommandType())|| !this->getFaction()->reqsOk(command->getCommandType())){ return crFailUndefined; }