Jumpgate state fix.

This commit is contained in:
Steve 2016-04-19 11:13:20 +01:00
parent 6da5f597ef
commit add135d62e
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ Entity *spawnJumpgate(int side, long flags)
jumpgate->draw = draw;
jumpgate->side = side;
jumpgate->flags = EF_NO_MT_BOX+EF_IMMORTAL+EF_AI_IGNORE;
if (flags & EF_DISABLED)
if (flags != -1 && flags & EF_DISABLED)
{
jumpgate->flags |= EF_DISABLED;
}