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 /src/main.c | |
| parent | 26a7b9bbf466dd01b5449ed5819c3e90ac398a1d (diff) | |
made readdemomap follow version
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -132,9 +132,7 @@ int main() printf("timeline: %i\n", ret); - // TODO should be able to read 5 aswell, change readdemomap to fit - if (dh.version >= 6) - ret = readdemomap(fp, &dm, dh.mapsize); + ret = readdemomap(fp, &dm, dh.mapsize, dh.version); printf("readdemomap ret: %d\n\n", ret); demochunk dc; |
