summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/mame/video/ddragon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/ddragon.cpp b/src/mame/video/ddragon.cpp
index b79ab7f911b..05b8d36125a 100644
--- a/src/mame/video/ddragon.cpp
+++ b/src/mame/video/ddragon.cpp
@@ -148,8 +148,8 @@ void ddragon_state::draw_sprites(bitmap_ind16 &bitmap,const rectangle &cliprect)
int attr = src[i + 1];
if (attr & 0x80) /* visible */
{
- int sx = 240 - (src[i + 4] | ((attr & 2) << 7));
- int sy = 232 - (src[i + 0] | ((attr & 1) << 8));
+ int sx = 240 - src[i + 4] + ((attr & 2) << 7);
+ int sy = 232 - src[i + 0] + ((attr & 1) << 8);
int size = (attr & 0x30) >> 4;
int flipx = attr & 8;
int flipy = attr & 4;