Added EF_STATIC, to prevent entities from moving.
This commit is contained in:
parent
da406491a6
commit
026e1991e5
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue