win32 palette option tweak

The palette option is supposed to be allowed in the config file
without a value for win32 to trigger a load of a predefined
NetHack palette, but that wasn't working.

This fixes that. To prevent the use of any palette modification
code at all, just leave the palette option out of the config
file entirely.
This commit is contained in:
nethack.allison
2006-10-05 03:11:52 +00:00
parent 1299e2f3b1
commit 4ba3b7da34
2 changed files with 6 additions and 6 deletions

View File

@@ -1087,7 +1087,6 @@ long rgb;
/* copy the NetHack palette into UserDefinedColors */
for (k=0; k < CLR_MAX; k++)
UserDefinedColors[k] = NetHackColors[k];
return;
} else if (color_number >= 0 && color_number < CLR_MAX) {
if (!altered_palette) {
/* make sure a full suite is available */