We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87ad831 commit 36e305aCopy full SHA for 36e305a
src/mame/konami/mystwarr_v.cpp
@@ -89,9 +89,7 @@ K055673_CB_MEMBER(mystwarr_state::metamrph_sprite_callback)
89
90
const int shadow = (*color >> 10) & 0b11;
91
const int effect_attributes = ((*color >> 8) & 0b11) << K055555_MIXSHIFT; // used for blending
92
- *color = (*color & 0x1f) | m_sprite_colorbase | effect_attributes;
93
-
94
- if (shadow == 0b11) { *color |= K055555_SKIPSHADOW; }
+ *color = (*color & 0x1f) | m_sprite_colorbase | effect_attributes | ((shadow == 0b11) ? K055555_SKIPSHADOW : 0);
95
}
96
97
K055673_CB_MEMBER(mystwarr_state::gaiapols_sprite_callback)
0 commit comments