summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c6690fea..a73f65eb 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -73,7 +73,6 @@ SERVER_INFO *server_info;
PLAYER_INFO *char_info = new PLAYER_INFO;
BITMAP *playerset, *hairset, *login_wallpaper;
-DATAFILE *weaponset;
char username[LEN_USERNAME];
char password[LEN_PASSWORD];
@@ -280,12 +279,6 @@ void init_engine() {
error("Unable to load hairset bitmap");
}
- // TODO: Remove datafile usage
- weaponset = load_datafile("./data/graphic/weapon.dat");
- if (weaponset == NULL) {
- error("Unable to load weaponset datafile");
- }
-
// TODO: Remove Allegro config file usage from GUI look
init_gui(buffer, "./data/Skin/aqua.skin");
state = LOGIN;