Fixed new redundancy HUD messages check - made it more strictly
This commit is contained in:
parent
1639e0f1f5
commit
fc60cd575d
|
@ -1,5 +1,9 @@
|
||||||
D2X-Rebirth Changelog
|
D2X-Rebirth Changelog
|
||||||
|
|
||||||
|
20071124
|
||||||
|
--------
|
||||||
|
main/hud.c: Fixed new redundancy HUD messages check - made it more strictly
|
||||||
|
|
||||||
20071123
|
20071123
|
||||||
--------
|
--------
|
||||||
main/aipath.c, main/fireball.c, main/titles.c: Fixed some memory problems; Adjusted timer_delay2 for robot briefings
|
main/aipath.c, main/fireball.c, main/titles.c: Fixed some memory problems; Adjusted timer_delay2 for robot briefings
|
||||||
|
|
|
@ -261,8 +261,8 @@ int HUD_init_message_va(char * format, va_list args)
|
||||||
|
|
||||||
// if many redundant messages at the same time, just block them all together
|
// if many redundant messages at the same time, just block them all together
|
||||||
// we probably want at least all visible once, but this isn't worth the work
|
// we probably want at least all visible once, but this isn't worth the work
|
||||||
for (i=0; i<=HUD_nmessages; i++)
|
for (i=0; i<=HUD_MAX_NUM; i++)
|
||||||
if (last_message && !strcmp(&HUD_messages[i][0],message) && (!strnicmp("You already",message,11) || !stricmp("super laser maxed out!",message)))
|
if (last_message && !strcmp(&HUD_messages[i][0],message) && (!strnicmp("You already",message,11) || !stricmp("your laser is maxed out!",message) || !stricmp("super laser maxed out!",message)))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
t=time(NULL);
|
t=time(NULL);
|
||||||
|
|
Loading…
Reference in a new issue