about summary refs log tree commit diff
path: root/src/game/g_protocol.def
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-17 22:36:03 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-17 22:36:03 +0000
commit511720b0e4493617dfdbe87f98802e594e61d8ea (patch)
treeb59bd21b0e0cfd4f78f535ada7fd2a9e695f4f86 /src/game/g_protocol.def
parent8cb74cfabe8392194a7e91d099ef3678c5fa61a9 (diff)
downloadzcatch-511720b0e4493617dfdbe87f98802e594e61d8ea.tar.gz
zcatch-511720b0e4493617dfdbe87f98802e594e61d8ea.zip
loads of minor fixes here and there. fixed invalid corrections and stuff like that
Diffstat (limited to 'src/game/g_protocol.def')
-rw-r--r--src/game/g_protocol.def7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/game/g_protocol.def b/src/game/g_protocol.def
index 4a7b79bc..d731b37e 100644
--- a/src/game/g_protocol.def
+++ b/src/game/g_protocol.def
@@ -64,7 +64,7 @@ end
 object projectile
 	any x, y
 	any vx, vy
-	range(0, NUM_WEAPONS) type
+	range(0, NUM_WEAPONS-1) type
 	range(0, max_int) start_tick
 end
 
@@ -85,7 +85,7 @@ end
 object flag
 	any x, y
 	range(0, 1) team
-	range(-1,MAX_CLIENTS-1) carried_by
+	range(-2,MAX_CLIENTS-1) carried_by // -2 == at stand -1 == on the field
 end
 
 object game
@@ -114,7 +114,7 @@ object player_core
 	range(0, 3) jumped
 
 	range(-1,MAX_CLIENTS-1) hooked_player
-	range(0, 3) hook_state
+	range(-1,2) hook_state
 	range(0, max_int) hook_tick
 
 	any hook_x
@@ -136,7 +136,6 @@ object player_character extends player_core
 	range(0, NUM_WEAPONS-1) weapon
 	range(0, NUM_EMOTES-1) emote
 	
-	range(0, 10) weaponstage
 	range(0, max_int) attacktick
 end