summaryrefslogtreecommitdiff
path: root/src/demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demo.c')
-rw-r--r--src/demo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/demo.c b/src/demo.c
index 57ce8d1..ff89e50 100644
--- a/src/demo.c
+++ b/src/demo.c
@@ -21,8 +21,8 @@ const unsigned char mapmagic[] = {0x6b, 0xe6, 0xda, 0x4a, 0xce, 0xbd, 0x38, 0x0c
void freedemo(demo *demo)
{
free(demo->map.data);
-
- for(int i = 0; i < demo->data.numchunks; i++)
+
+ for (int i = 0; i < demo->data.numchunks; i++)
{
demochunk *chunk = &demo->data.chunks[i];
switch (chunk->type)
@@ -50,7 +50,6 @@ void freedemo(demo *demo)
}
}
free(demo->data.chunks);
-
}
/* readers */