summaryrefslogtreecommitdiff
path: root/inc/demo.h
diff options
context:
space:
mode:
authorjohannes <johannes.herman@gmail.com>2024-02-06 14:14:57 +0100
committerjohannes <johannes.herman@gmail.com>2024-02-06 14:14:57 +0100
commitec6a5c1ff3bb7731e17b798f9bbfdb0aedf94baa (patch)
treee766d76d0dcb2468ac34b6f096054d87513727ff /inc/demo.h
parent26a7b9bbf466dd01b5449ed5819c3e90ac398a1d (diff)
made readdemomap follow version
Diffstat (limited to 'inc/demo.h')
-rw-r--r--inc/demo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/demo.h b/inc/demo.h
index efb3a23..6a8a04a 100644
--- a/inc/demo.h
+++ b/inc/demo.h
@@ -103,7 +103,7 @@ int readdemotimeline(FILE *demofile, demotimeline *timeline);
/* Read demo map from demofile into given demomap */
/* Returns a positive number on success, negative on fail */
/* Must have read the demoheader and demotimeline beforehand */
-int readdemomap(FILE *demofile, demomap *map, int mapsize);
+int readdemomap(FILE *demofile, demomap *map, int mapsize, unsigned char version);
/* Reads a chunk from demofile into given chunk */
/* Returns a positive number on success, 0 on EOF, and negative number on error */