diff options
| author | johannes <johannes.herman@gmail.com> | 2024-02-06 14:14:57 +0100 |
|---|---|---|
| committer | johannes <johannes.herman@gmail.com> | 2024-02-06 14:14:57 +0100 |
| commit | ec6a5c1ff3bb7731e17b798f9bbfdb0aedf94baa (patch) | |
| tree | e766d76d0dcb2468ac34b6f096054d87513727ff /inc | |
| parent | 26a7b9bbf466dd01b5449ed5819c3e90ac398a1d (diff) | |
made readdemomap follow version
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/demo.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |
