Skip to content

Commit

Permalink
update metamrph_sprite_callback per suggestion (change if statement)
Browse files Browse the repository at this point in the history
  • Loading branch information
FredYeye committed Feb 6, 2025
1 parent 87ad831 commit 36e305a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mame/konami/mystwarr_v.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ K055673_CB_MEMBER(mystwarr_state::metamrph_sprite_callback)

const int shadow = (*color >> 10) & 0b11;
const int effect_attributes = ((*color >> 8) & 0b11) << K055555_MIXSHIFT; // used for blending
*color = (*color & 0x1f) | m_sprite_colorbase | effect_attributes;

if (shadow == 0b11) { *color |= K055555_SKIPSHADOW; }
*color = (*color & 0x1f) | m_sprite_colorbase | effect_attributes | ((shadow == 0b11) ? K055555_SKIPSHADOW : 0);
}

K055673_CB_MEMBER(mystwarr_state::gaiapols_sprite_callback)
Expand Down

0 comments on commit 36e305a

Please sign in to comment.