summaryrefslogtreecommitdiff
path: root/games/cube/files/patch-protos.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/cube/files/patch-protos.h')
-rw-r--r--games/cube/files/patch-protos.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/cube/files/patch-protos.h b/games/cube/files/patch-protos.h
new file mode 100644
index 000000000000..15af2f48dfd5
--- /dev/null
+++ b/games/cube/files/patch-protos.h
@@ -0,0 +1,11 @@
+--- protos.h.orig 2015-02-14 01:31:41.352230000 +0100
++++ protos.h 2015-02-14 01:39:01.934630000 +0100
+@@ -192,7 +192,7 @@
+
+ // rendermd2
+ extern void rendermodel(char *mdl, int frame, int range, int tex, float rad, float x, float y, float z, float yaw, float pitch, bool teammate, float scale, float speed, int snap = 0, int basetime = 0);
+-extern mapmodelinfo &getmminfo(int i);
++extern mapmodelinfo *getmminfo(int i);
+
+ // server
+ extern void initserver(bool dedicated, int uprate, char *sdesc, char *ip, char *master, char *passwd, int maxcl);