From 1c45aa51f83401cf9a9fc20d6587f0a8f04655ac Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 7 Oct 2007 20:23:33 +0000 Subject: added spectator --- src/game/server/srv_common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/game/server/srv_common.h') diff --git a/src/game/server/srv_common.h b/src/game/server/srv_common.h index 103e4a01..8cef2cf8 100644 --- a/src/game/server/srv_common.h +++ b/src/game/server/srv_common.h @@ -49,7 +49,7 @@ public: enum { FLAG_DESTROY=0x00000001, - FLAG_ALIVE=0x00000002, + FLAG_PHYSICS=0x00000002, }; entity(int objtype); @@ -272,6 +272,8 @@ public: void try_respawn(); void respawn(); + + void set_team(int team); bool is_grounded(); -- cgit 1.4.1