summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2018-10-11 21:28:53 -0400
committer GitHub <noreply@github.com>2018-10-11 21:28:53 -0400
commita17445b01d6f9666efb7817b08d6d5d3a239f202 (patch)
treeb7c851a93f2a09c628b97fe374241e9b146906a8
parent162c81c555297666c2aecb44b2866a7f63cbd46b (diff)
parent2a42dc3998b15515cef64b534d907f3d2d9786ef (diff)
Merge pull request #4126 from kunikunijp/warpwarp-patch
warpwarp.cpp: Fixed the player 2 shot (or ball) offset in cocktail mode is wrong.
-rw-r--r--src/mame/video/warpwarp.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mame/video/warpwarp.cpp b/src/mame/video/warpwarp.cpp
index 593956231cf..9d9d3c2d4c2 100644
--- a/src/mame/video/warpwarp.cpp
+++ b/src/mame/video/warpwarp.cpp
@@ -248,14 +248,8 @@ void warpwarp_state::draw_ball(bitmap_ind16 &bitmap, const rectangle &cliprect,p
{
int x,y,i,j;
- if (flip_screen() & 1) {
- x = 376 - m_ball_h;
- y = 280 - m_ball_v;
- }
- else {
- x = 264 - m_ball_h;
- y = 240 - m_ball_v;
- }
+ x = 264 - m_ball_h;
+ y = 240 - m_ball_v;
for (i = m_ball_sizey;i > 0;i--)
for (j = m_ball_sizex;j > 0;j--)