summaryrefslogtreecommitdiff
path: root/games/assaultcube/files/patch-source_src_master.cpp
diff options
context:
space:
mode:
authorKevin Zheng <kevinz5000@gmail.com>2023-02-13 14:15:41 +0100
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2023-02-14 13:34:07 +0100
commit3c8ea1caeedb246697b79bdb5c215fe4567247c6 (patch)
tree03efa75bc3f098077afea61f5d7b1c4524cdc599 /games/assaultcube/files/patch-source_src_master.cpp
parentnet/libiscsi: update to HEAD of 2023-02-08 (diff)
games/assaultcube: Update to 1.3.0.2
Submitter becomes maintainer, already maintainer of several ports. The PORT_ENET option no longer compiles, so remove it. The MASTER server option is also currently broken, but players playing the game or running a dedicated server should not need to run it, so disable this option for now. While here, pet linters. ChangeLog: https://assault.cubers.net/docs/history.html * the server sends messages so you know what data was used for shuffeling (random < match < vita) * switching to spectator only incurs respawn delay, not suicide/teamkill * the overview spectator can now see the flags in tilted-model or radar-like ways through overviewflags setting * connect protocol waits for authentication with the masterserver before connecting * register connect protocol script for linux PR: 269505 Reported by: kevinz5000@gmail.com (maintainer)
Diffstat (limited to 'games/assaultcube/files/patch-source_src_master.cpp')
-rw-r--r--games/assaultcube/files/patch-source_src_master.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/games/assaultcube/files/patch-source_src_master.cpp b/games/assaultcube/files/patch-source_src_master.cpp
deleted file mode 100644
index dafcf9df0f74..000000000000
--- a/games/assaultcube/files/patch-source_src_master.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- source/src/master.cpp.orig 2013-10-09 08:27:37 UTC
-+++ source/src/master.cpp
-@@ -510,7 +510,7 @@
- authreq &a = c.authreqs.add();
- a.reqtime = servtime;
- a.id = id;
-- uint seed[3] = { starttime, servtime, randomMT() };
-+ uint seed[3] = { (uint)starttime, servtime, randomMT() };
- static vector<char> buf;
- buf.setsize(0);
- a.answer = genchallenge(u->pubkey, seed, sizeof(seed), buf);