PlayerCfg.MultiMessages was supposed to only show messages of class HM_MULTI but turned out to only block HM_REDUNDANT, too. Fixed this copy/paste error of mine

This commit is contained in:
zicodxx 2011-06-23 09:23:53 +02:00
parent ad850557ca
commit e26a5bb354
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,9 @@
D1X-Rebirth Changelog
20110623
--------
main/hud.c: PlayerCfg.MultiMessages was supposed to only show messages of class HM_MULTI but turned out to only block HM_REDUNDANT, too. Fixed this copy/paste error of mine
20110620
--------
main/lighting.c: in compute_light_emission() handle RT_NONE for delayed explosion fireballs

View file

@ -190,7 +190,7 @@ int HUD_init_message(int class_flag, char * format, ... )
if (PlayerCfg.NoRedundancy && class_flag & HM_REDUNDANT)
return 0;
if (PlayerCfg.MultiMessages && Game_mode & GM_MULTI && class_flag & HM_REDUNDANT)
if (PlayerCfg.MultiMessages && Game_mode & GM_MULTI && !(class_flag & HM_MULTI))
return 0;
va_start(args, format);