From ec6a5c1ff3bb7731e17b798f9bbfdb0aedf94baa Mon Sep 17 00:00:00 2001 From: johannes Date: Tue, 6 Feb 2024 14:14:57 +0100 Subject: made readdemomap follow version --- inc/demo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/demo.h') 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 */ -- cgit v1.2.3