aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/src/customer/movement.rs10
-rw-r--r--server/src/game.rs8
2 files changed, 9 insertions, 9 deletions
diff --git a/server/src/customer/movement.rs b/server/src/customer/movement.rs
index b62149c9..681b2b67 100644
--- a/server/src/customer/movement.rs
+++ b/server/src/customer/movement.rs
@@ -1,19 +1,19 @@
/*
Undercooked - a game about cooking
Copyright 2024 metamuffin
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, version 3 of the License only.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-
+
*/
use crate::protocol::PacketS;
use glam::{IVec2, Vec2};
@@ -21,7 +21,7 @@ use std::collections::HashSet;
const PLAYER_SIZE: f32 = 0.4;
const PLAYER_SPEED: f32 = 25.;
-pub const PLAYER_SPEED_LIMIT: f32 = 10.;
+pub const PLAYER_SPEED_LIMIT: f32 = f32::INFINITY; // 10.;
pub struct MovementBase {
pub position: Vec2,
diff --git a/server/src/game.rs b/server/src/game.rs
index d5ef1765..c5eb8c9f 100644
--- a/server/src/game.rs
+++ b/server/src/game.rs
@@ -1,19 +1,19 @@
/*
Undercooked - a game about cooking
Copyright 2024 metamuffin
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, version 3 of the License only.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-
+
*/
use crate::{
customer::movement::PLAYER_SPEED_LIMIT,