rust/hedgewars-server/src/core/room.rs
changeset 15525 16d3c9acd715
parent 15482 4cc9ec732392
child 15534 bb93e9642b5b
--- a/rust/hedgewars-server/src/core/room.rs	Tue Dec 24 12:46:23 2019 -0500
+++ b/rust/hedgewars-server/src/core/room.rs	Tue Dec 24 20:57:58 2019 +0300
@@ -11,7 +11,7 @@
 use std::{collections::HashMap, iter};
 
 pub const MAX_TEAMS_IN_ROOM: u8 = 8;
-pub const MAX_HEDGEHOGS_IN_ROOM: u8 = MAX_HEDGEHOGS_PER_TEAM * MAX_HEDGEHOGS_PER_TEAM;
+pub const MAX_HEDGEHOGS_IN_ROOM: u8 = MAX_TEAMS_IN_ROOM * MAX_HEDGEHOGS_PER_TEAM;
 
 fn client_teams_impl(
     teams: &[(ClientId, TeamInfo)],