diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 945940aff..608c6fece 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -7,6 +7,7 @@ main/digiobj.c, main/piggy.c: Don't force AltSounds on PC-Shareware content but main/titles.c: Play SONG_BRIEFING and SONG_ENDGAME on all non-builtin missions if available main/endlevel.c: Correctly handle PC Shareware for start_endlevel_movie() again without the defines but via is_SHAREWARE main/digiobj.c: Just generally ignore missing sounds in digi_xlat_sound just like D1X-Rebirth - not limit to Shareware +main/multi.c: for flexibility in terms of modding, allow player ship textures in Multiplayer be <= N_PLAYER_SHIP_TEXTURES and not hit Assert but pull out Eroor if there are more 20110601 -------- diff --git a/main/multi.c b/main/multi.c index c1103ac4d..72cc06081 100644 --- a/main/multi.c +++ b/main/multi.c @@ -2481,7 +2481,8 @@ void multi_reset_object_texture (object *objp) if (id == 0) objp->rtype.pobj_info.alt_textures=0; else { - Assert(N_PLAYER_SHIP_TEXTURES == Polygon_models[objp->rtype.pobj_info.model_num].n_textures); + if (N_PLAYER_SHIP_TEXTURES < Polygon_models[objp->rtype.pobj_info.model_num].n_textures) + Error("Too many player ship textures!\n"); for (i=0;irtype.pobj_info.model_num].first_texture+i]];