about summary refs log tree commit diff
path: root/src/engine/map.c
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-08-25 08:48:24 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-08-25 08:48:24 +0000
commit89ccbd4f7b478b49329fa39be62ee3a5b38641bc (patch)
treefc96f677e9947f4d7b7642999544d954f0a10617 /src/engine/map.c
parent3e23392105fad0d847b41f730d002a700cd4d752 (diff)
downloadzcatch-89ccbd4f7b478b49329fa39be62ee3a5b38641bc.tar.gz
zcatch-89ccbd4f7b478b49329fa39be62ee3a5b38641bc.zip
compressed map support. begun to fix things for ctf
Diffstat (limited to 'src/engine/map.c')
-rw-r--r--src/engine/map.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/map.c b/src/engine/map.c
index 45aff7a1..53ade00a 100644
--- a/src/engine/map.c
+++ b/src/engine/map.c
@@ -8,6 +8,11 @@ void *map_get_data(int index)
 	return datafile_get_data(map, index);
 }
 
+void map_unload_data(int index)
+{
+	datafile_unload_data(map, index);
+}
+
 void *map_get_item(int index, int *type, int *id)
 {
 	return datafile_get_item(map, index, type, id);