fix wrong m_flags checks (#852)

This commit is contained in:
Roman Fomin 2022-12-24 16:14:52 +07:00 committed by GitHub
parent fd9c870944
commit 83878a8cd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2344,7 +2344,7 @@ void M_DrawSetting(setup_menu_t* s)
// Is the item a paint chip?
if (flags & S_COLOR) // Automap paint chip
if (flags & S_AM_COLOR) // Automap paint chip
{
int i, ch;
byte *ptr = colorblock;

View File

@ -134,7 +134,7 @@ extern int warning_about_changes, print_warning_about_changes;
#define S_SHOWSET (S_YESNO|S_CRITEM|S_COLOR|S_CHAT|S_INPUT|S_WEAP|S_NUM|S_CHOICE|S_THERMO|S_NAME)
#define S_STRING (S_CHAT|S_NAME)
#define S_STRING (S_CHAT_MACRO|S_NAME)
#define S_HASDEFPTR (S_STRING|S_YESNO|S_NUM|S_WEAP|S_COLOR|S_CRITEM|S_CHOICE|S_THERMO)