X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Finit.c;h=b048083108d3fbe97c6f653798aed31f1c84094c;hp=211e66e36260200fe2630aacad99a78de6dbf913;hb=c4b26cf489dcc65a00bfcc05f7898700d2f0c9e4;hpb=d7d97176a88ee47f893055480c76b9c05a253d05 diff --git a/src/init.c b/src/init.c index 211e66e3..b0480831 100644 --- a/src/init.c +++ b/src/init.c @@ -134,15 +134,19 @@ void InitLevelAndPlayerInfo() Error(ERR_EXIT, NULL); - - LoadSetup(); - + LoadSetup(); /* global setup info */ + LoadLevelSetup(); /* info about last played level */ +#if 0 LoadPlayerInfo(PLAYER_SETUP); /* global setup info */ LoadPlayerInfo(PLAYER_LEVEL); /* level specific info */ +#endif + +#if 0 /* after LoadPlayerInfo(), because it overwrites 'local_player' */ +#endif for (i=0; i