summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/cube/files/20040522-compile-fixes.patch')
-rw-r--r--games-fps/cube/files/20040522-compile-fixes.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/games-fps/cube/files/20040522-compile-fixes.patch b/games-fps/cube/files/20040522-compile-fixes.patch
new file mode 100644
index 000000000000..c92d281cfc22
--- /dev/null
+++ b/games-fps/cube/files/20040522-compile-fixes.patch
@@ -0,0 +1,13 @@
+--- src/clientgame.cpp.orig 2004-07-29 22:42:36.297967768 +0200
++++ src/clientgame.cpp 2004-07-29 22:42:50.019881720 +0200
+@@ -200,8 +200,8 @@
+
+ int sleepwait = 0;
+ string sleepcmd;
+-void sleep(char *msec, char *cmd) { sleepwait = atoi(msec)+lastmillis; strcpy_s(sleepcmd, cmd); };
+-COMMAND(sleep, ARG_2STR);
++void mysleep(char *msec, char *cmd) { sleepwait = atoi(msec)+lastmillis; strcpy_s(sleepcmd, cmd); };
++COMMAND(mysleep, ARG_2STR);
+
+ void updateworld(int millis) // main game update loop
+ {