Added EF_STATIC, to prevent entities from moving.

This commit is contained in:
Steve 2015-11-29 13:23:01 +00:00
parent da406491a6
commit 026e1991e5
3 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,7 @@ Entity *spawnExtractionPoint(void)
extractionPoint->texture = getTexture("gfx/entities/extractionPoint.png");
extractionPoint->action = think;
extractionPoint->flags |= EF_NO_MT_BOX;
extractionPoint->flags |= EF_STATIC;
return extractionPoint;
}

View File

@ -44,6 +44,7 @@ Entity *spawnWaypoint(void)
waypoint->flags = EF_MISSION_TARGET;
waypoint->action = think;
waypoint->flags |= EF_NO_MT_BOX;
waypoint->flags |= EF_STATIC;
return waypoint;
}

View File

@ -75,6 +75,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define EF_MUST_DISABLE (2 << 7)
#define EF_RETREATING (2 << 8)
#define EF_NO_EPIC (2 << 9)
#define EF_STATIC (2 << 10)
#define AIF_NONE 0
#define AIF_FOLLOWS_PLAYER (2 << 0)