about summary refs log tree commit diff
path: root/src/game/server
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-07-24 23:46:29 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-07-24 23:46:29 +0000
commit52c987bfd7abcd8acecdc7da580b8e56be0bd625 (patch)
treee609740a22807f569f483a1785af72aaaf6bdc33 /src/game/server
parent1acc309c30f758c3553c388b22fb18f9d1c0d967 (diff)
downloadzcatch-52c987bfd7abcd8acecdc7da580b8e56be0bd625.tar.gz
zcatch-52c987bfd7abcd8acecdc7da580b8e56be0bd625.zip
fixed so that the .dat-files are compiled into the exes
Diffstat (limited to 'src/game/server')
-rw-r--r--src/game/server/game_server.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/server/game_server.cpp b/src/game/server/game_server.cpp
index e063364c..9fb50d4b 100644
--- a/src/game/server/game_server.cpp
+++ b/src/game/server/game_server.cpp
@@ -1652,9 +1652,11 @@ void mods_message(int msg, int client_id)
 	}
 }
 
+extern unsigned char internal_data[];
+
 void mods_init()
 {
-	data = load_data_container("data/server.dat");
+	data = load_data_from_memory(internal_data);
 	col_init(32);
 
 	int start, num;