diff --git a/src/battle/fighters.c b/src/battle/fighters.c index 8bf06ca..be3a362 100644 --- a/src/battle/fighters.c +++ b/src/battle/fighters.c @@ -192,7 +192,10 @@ void doFighter(void) separate(); } - attachRope(); + if (!(self->flags & EF_DISABLED)) + { + attachRope(); + } if (self->thrust > 0.25) { @@ -824,6 +827,11 @@ void loadFighters(cJSON *node) SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_WARN, "Flags for '%s' (%s) replaced", e->name, e->defName); } + + if (e->flags & EF_DISABLED) + { + e->speed = 0; + } } if (aiFlags != -1)