about summary refs log tree commit diff
path: root/src/game/client/game_client.cpp
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/client/game_client.cpp
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/client/game_client.cpp')
-rw-r--r--src/game/client/game_client.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp
index e5d874d2..d29c6b7d 100644
--- a/src/game/client/game_client.cpp
+++ b/src/game/client/game_client.cpp
@@ -422,10 +422,12 @@ static const int killmsg_max = 5;
 killmsg killmsgs[killmsg_max];
 static int killmsg_current = 0;
 
+extern unsigned char internal_data[];
+
 void modc_init()
 {
 	// load the data container
-	data = load_data_container("data/client.dat");
+	data = load_data_from_memory(internal_data);
 
 	// load sounds
 	for(int s = 0; s < data->num_sounds; s++)