From 52c987bfd7abcd8acecdc7da580b8e56be0bd625 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Tue, 24 Jul 2007 23:46:29 +0000 Subject: fixed so that the .dat-files are compiled into the exes --- src/game/client/game_client.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/game/client/game_client.cpp') 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++) -- cgit 1.4.1