@@ -1096,7 +1096,7 @@ static void WI_InitStats(void)
10961096 (M_StringCompare (playername , playername_default ) ? "You" : playername ), mapname );
10971097 else
10981098 C_PlayerMessage ("%s finished " ITALICS ("%s%s" ),
1099- (M_StringCompare (playername , playername_default ) ? "you " : playername ), mapname ,
1099+ (M_StringCompare (playername , playername_default ) ? "You " : playername ), mapname ,
11001100 (ispunctuation (mapname [strlen (mapname ) - 1 ]) ? "" : "!" ));
11011101
11021102 temp1 = commify (wbs -> skills );
@@ -1242,15 +1242,11 @@ static void WI_UpdateStats(void)
12421242
12431243 cnt_par += 3 * TICRATE ;
12441244
1245- // e6y
1246- // if par time is hidden (if modifiedgame is true)
1247- // the game should play explosion sound immediately after
1248- // the counter will reach level time instead of par time
1249- if (modifiedgame && play_early_explosion )
1245+ if (!wbs -> partime && play_early_explosion )
12501246 if (cnt_time >= wbs -> stime )
12511247 {
12521248 S_StartSound (NULL , sfx_barexp );
1253- play_early_explosion = false; // do not play it twice or more
1249+ play_early_explosion = false;
12541250 }
12551251
12561252 if (cnt_par >= wbs -> partime )
@@ -1259,10 +1255,7 @@ static void WI_UpdateStats(void)
12591255
12601256 if (cnt_time >= wbs -> stime )
12611257 {
1262- // e6y: do not play explosion sound if it was already played
1263- if (!modifiedgame )
1264- S_StartSound (NULL , sfx_barexp );
1265-
1258+ S_StartSound (NULL , sfx_barexp );
12661259 sp_state ++ ;
12671260 }
12681261 }
0 commit comments