about summary refs log tree commit diff
path: root/src/game/game_protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game_protocol.h')
-rw-r--r--src/game/game_protocol.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/game/game_protocol.h b/src/game/game_protocol.h
index 56156e24..0300c88a 100644
--- a/src/game/game_protocol.h
+++ b/src/game/game_protocol.h
@@ -60,6 +60,11 @@ enum
 
 enum
 {
+	INPUT_STATE_MASK=0x1f,
+};
+
+enum
+{
 	STATE_UNKNOWN=0,
 	STATE_PLAYING,
 	STATE_IN_MENU,
@@ -82,9 +87,9 @@ struct player_input
 	int fire;
 	int hook;
 	int blink;
-	int activeweapon;
 	int state;
 	
+	int wanted_weapon;
 	int next_weapon;
 	int prev_weapon;
 };