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:
parent
ad850557ca
commit
e26a5bb354
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue