Make doors static by default.

This commit is contained in:
Steve 2018-02-16 08:08:33 +00:00
parent 344460fdf5
commit 0a2cd17622
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ Entity *initDoor(void)
s->isSolid = 1;
s->isStatic = 1;
s->flags |= EF_WEIGHTLESS | EF_NO_ENVIRONMENT | EF_NO_CLIP | EF_EXPLODES | EF_NO_TELEPORT;
s->closedX = s->closedY = -1;