mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +03:00
Merge pull request #4126 from kunikunijp/warpwarp-patch
warpwarp.cpp: Fixed the player 2 shot (or ball) offset in cocktail mode is wrong.
This commit is contained in:
commit
a17445b01d
@ -248,14 +248,8 @@ void warpwarp_state::draw_ball(bitmap_ind16 &bitmap, const rectangle &cliprect,p
|
|||||||
{
|
{
|
||||||
int x,y,i,j;
|
int x,y,i,j;
|
||||||
|
|
||||||
if (flip_screen() & 1) {
|
x = 264 - m_ball_h;
|
||||||
x = 376 - m_ball_h;
|
y = 240 - m_ball_v;
|
||||||
y = 280 - m_ball_v;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
x = 264 - m_ball_h;
|
|
||||||
y = 240 - m_ball_v;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (i = m_ball_sizey;i > 0;i--)
|
for (i = m_ball_sizey;i > 0;i--)
|
||||||
for (j = m_ball_sizex;j > 0;j--)
|
for (j = m_ball_sizex;j > 0;j--)
|
||||||
|
Loading…
Reference in New Issue
Block a user