allow hoard.ham to go in 'Data' subdirectory
This commit is contained in:
parent
34046e15ac
commit
932607cab4
|
@ -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
|
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/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
|
20080321
|
||||||
--------
|
--------
|
||||||
|
|
|
@ -4784,7 +4784,7 @@ void init_hoard_data()
|
||||||
int i,save_pos;
|
int i,save_pos;
|
||||||
extern int Num_bitmap_files,Num_effects,Num_sound_files;
|
extern int Num_bitmap_files,Num_effects,Num_sound_files;
|
||||||
|
|
||||||
ifile = cfopen("hoard.ham","rb");
|
ifile = PHYSFSX_openDataFile("hoard.ham");
|
||||||
if (ifile == NULL)
|
if (ifile == NULL)
|
||||||
Error("can't open <hoard.ham>");
|
Error("can't open <hoard.ham>");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue