about summary refs log tree commit diff
path: root/src/game/client/menu.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-07-16 18:40:14 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-07-16 18:40:14 +0000
commitf3149df6e497676db3c57c2d2554d4b6185a0f12 (patch)
treefb2cc5ce4eb3a7df0b1449c77bf3f698ca87cb03 /src/game/client/menu.cpp
parentc4373df7fe6798c027655b46e408b73b8476a3a3 (diff)
downloadzcatch-f3149df6e497676db3c57c2d2554d4b6185a0f12.tar.gz
zcatch-f3149df6e497676db3c57c2d2554d4b6185a0f12.zip
fixed so that the data container is only loaded once
Diffstat (limited to 'src/game/client/menu.cpp')
-rw-r--r--src/game/client/menu.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/client/menu.cpp b/src/game/client/menu.cpp
index d90e5039..dc689ab6 100644
--- a/src/game/client/menu.cpp
+++ b/src/game/client/menu.cpp
@@ -23,7 +23,7 @@
 
 #include "data.h"
 
-static data_container *data;
+extern data_container *data;
 
 using namespace baselib;
 
@@ -956,8 +956,6 @@ void modmenu_init()
     teewars_banner_texture = gfx_load_texture("data/gui_logo.png");
 
 	music_menu = snd_load_wav("data/audio/Music_Menu.wav");
-
-	data = load_data_container("data/client.dat");
 }
 
 void modmenu_shutdown()