gameServer2/src/server/room.rs
changeset 13530 d126d9a646ac
parent 13529 5359ff75da3a
child 13532 e3ae9eea0689
--- a/gameServer2/src/server/room.rs	Tue Jul 17 16:03:34 2018 +0300
+++ b/gameServer2/src/server/room.rs	Wed Jul 18 02:14:32 2018 +0300
@@ -4,7 +4,8 @@
     client::{HWClient}
 };
 
-const MAX_HEDGEHOGS_IN_ROOM: u8 = 48;
+const MAX_HEDGEHOGS_IN_ROOM: u8 = 64;
+const MAX_TEAMS_IN_ROOM: u8 = 8;
 
 #[derive(Clone)]
 struct Ammo {
@@ -146,7 +147,7 @@
             protocol_number: 0,
             players_number: 0,
             default_hedgehog_number: 4,
-            team_limit: 8,
+            team_limit: MAX_TEAMS_IN_ROOM,
             ready_players_number: 0,
             teams: Vec::new(),
             config: RoomConfig::new(),