From 900e6f472475e045deaa35b3634313d287fe81b8 Mon Sep 17 00:00:00 2001 From: danilo Date: Sat, 12 Oct 2013 17:55:50 +0000 Subject: - Add forgotten patches Reported by: Sender Ghost (maintainer) Approved by: wg/culot (mentors, implicit) --- games/assaultcube/files/patch-source_src_console.h | 17 +++++++++++++++++ games/assaultcube/files/patch-source_src_master.cpp | 11 +++++++++++ 2 files changed, 28 insertions(+) create mode 100644 games/assaultcube/files/patch-source_src_console.h create mode 100644 games/assaultcube/files/patch-source_src_master.cpp diff --git a/games/assaultcube/files/patch-source_src_console.h b/games/assaultcube/files/patch-source_src_console.h new file mode 100644 index 000000000000..4d12dc4370d2 --- /dev/null +++ b/games/assaultcube/files/patch-source_src_console.h @@ -0,0 +1,17 @@ +--- source/src/console.h.orig 2013-10-09 12:27:31.000000000 +0400 ++++ source/src/console.h 2013-10-11 02:23:35.000000000 +0400 +@@ -127,7 +127,7 @@ + } + }; + +-/** WIP ALERT */ ++/** WIP ALERT *//* + struct textinputbuffer_wip + { + string buf; +@@ -257,4 +257,4 @@ + return false; + } + }; +- ++*/ diff --git a/games/assaultcube/files/patch-source_src_master.cpp b/games/assaultcube/files/patch-source_src_master.cpp new file mode 100644 index 000000000000..4e646df7a132 --- /dev/null +++ b/games/assaultcube/files/patch-source_src_master.cpp @@ -0,0 +1,11 @@ +--- source/src/master.cpp.orig 2013-10-09 12:27:37.000000000 +0400 ++++ source/src/master.cpp 2013-10-11 02:26:24.000000000 +0400 +@@ -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 buf; + buf.setsize(0); + a.answer = genchallenge(u->pubkey, seed, sizeof(seed), buf); -- cgit