Fixed Bug #674531: When sound if off, Sound disabled message should not display

This commit is contained in:
mr-russ 2003-01-26 02:02:31 +00:00
parent fc28a83fd9
commit 0a0c137db8
2 changed files with 3 additions and 1 deletions

View file

@ -1048,6 +1048,8 @@
Jimmy Salmon).
<LI>Fixed bug #674532: Last Unit cost should not display when typing a
message (from Jimmy Salmon).
<LI>Fixed Bug #674531: When sound if off, Sound disabled message
should not display (from Russell Smith).
<LI>+++
</UL>
</UL>

View file

@ -756,7 +756,7 @@ local void NameLineDrawFunc(Menuitem * mi __attribute__ ((unused)))
SetDefaultTextColors(rc, rc);
#ifdef WITH_SOUND
if (SoundFildes == -1) {
if (SoundFildes == -1 && !SoundOff) {
VideoDrawText(16, 16, LargeFont, "Sound disabled, please check!");
}
#endif