Revision | 07ff1daea4394b03f7f1d6ff4e4b2459ab119da5 (tree) |
---|---|
Time | 2012-05-27 03:42:12 |
Author | Benjamin Berkels <torr.samaho@quan...> |
Commiter | Benjamin Berkels |
[Dusk] Fixed: Medals weren't announced on spied players.
@@ -227,6 +227,7 @@ | ||
227 | 227 | - - Fixed: Accuracy/Precision medals are now properly given when using the Rocket Launcher, Grenade Launcher, or BFG10K. [MP2E, Torr Samaho] |
228 | 228 | - - Fixed problems with the LAN broadcast under Linux. [Koromix] |
229 | 229 | - - Fixed: Console icon would stick on a player's head if the server missed the packet to remove the icon. [TIHan] |
230 | +- - Fixed: Medals weren't announced on spied players. [Dusk] | |
230 | 231 | ! - Changed F12 to allow spectators full spying, with the exception of during LMS if it's disabled. [Eruanna] |
231 | 232 | ! - Changed F12 to allow full demo spying. [Eruanna] |
232 | 233 | ! - Players aren't forced to spectate after a "changemap" map change on a server with a join password anymore. [Torr Samaho] |
@@ -955,7 +955,8 @@ | ||
955 | 955 | if ( g_MedalQueue[ulPlayer][0].ulTick == MEDAL_ICON_DURATION ) |
956 | 956 | { |
957 | 957 | // Also, locally play the announcer sound associated with this medal. |
958 | - if ( pPlayer - players == consoleplayer ) | |
958 | + // [Dusk] Check coop spy too | |
959 | + if ( pPlayer->mo->CheckLocalView( consoleplayer ) ) | |
959 | 960 | { |
960 | 961 | if ( g_Medals[ulMedal].szAnnouncerEntry[0] ) |
961 | 962 | ANNOUNCER_PlayEntry( cl_announcer, (const char *)g_Medals[ulMedal].szAnnouncerEntry ); |