From 932607cab4ffb6a6cadd7f31ec1353ac2ba10bd0 Mon Sep 17 00:00:00 2001 From: kreatordxx <> Date: Sat, 22 Mar 2008 06:23:19 +0000 Subject: [PATCH] allow hoard.ham to go in 'Data' subdirectory --- CHANGELOG.txt | 1 + main/multi.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 68ac35780..5c6d2a077 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -4,6 +4,7 @@ D2X-Rebirth Changelog -------- INSTALL.txt, SConstruct: make compile instructions clearer for Windows and Mac users, for Mac OS X don't use Sharepath when using SConstruct main/network.c: add prototypes for show_game_stats and network_do_join_game to fix warnings +main/multi.c: allow hoard.ham to go in 'Data' subdirectory 20080321 -------- diff --git a/main/multi.c b/main/multi.c index 8a3eab448..60c67bea5 100644 --- a/main/multi.c +++ b/main/multi.c @@ -4784,7 +4784,7 @@ void init_hoard_data() int i,save_pos; extern int Num_bitmap_files,Num_effects,Num_sound_files; - ifile = cfopen("hoard.ham","rb"); + ifile = PHYSFSX_openDataFile("hoard.ham"); if (ifile == NULL) Error("can't open ");