diff --git a/CHANGELOG.txt b/CHANGELOG.txt index bca0c1ce1..d02327276 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -10,6 +10,7 @@ main/net_udp.c: in netgame info screen some setting-descriptions were interchang main/net_udp.c: Since the kicked message is shown after player is technically removed from the game we do not know hosts name anymore. Message changed accordingly main/multi.c, main/multi.h, main/newdemo.c, main/player.h: Allow a total of 32 different player ship textures and stored N_PLAYER_SHIP_TEXTURES in player.h main/config.c: Dynamically allocate line to read from descent.cfg and ensure a safe length +main/gamesave.c, main/net_udp.c: Added forgotten D2 powerup capping code when starting level which hopefully fixes massive powerup loss 20120324 -------- diff --git a/main/gamesave.c b/main/gamesave.c index 977274af8..dc3aea010 100644 --- a/main/gamesave.c +++ b/main/gamesave.c @@ -1093,6 +1093,17 @@ int load_level(char * filename_passed) int sig, minedata_offset, gamedata_offset, hostagetext_offset; int mine_err, game_err; +#ifdef NETWORK + if (Game_mode & GM_NETWORK) + { + for (i=0;i