From 57db318a9e2de5cf9422ccf96e4f55df4840b88f Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sat, 22 Jul 2017 11:00:47 -0400 Subject: stuff Change-Id: Ic707fb03c2472b9a0c4ea3e64eb3620c411f661c --- apps/plugins/puzzles/src/inertia.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/plugins/puzzles/src') diff --git a/apps/plugins/puzzles/src/inertia.c b/apps/plugins/puzzles/src/inertia.c index c22d2e1..05fba4f 100644 --- a/apps/plugins/puzzles/src/inertia.c +++ b/apps/plugins/puzzles/src/inertia.c @@ -1866,10 +1866,10 @@ static void draw_player(drawing *dr, game_drawstate *ds, int x, int y, x2 = (x1+x3) / 4; y2 = (y1+y3) / 4; - coords[d*4+0] = x + TILESIZE/2 + (int)((TILESIZE*3/7) * x1); - coords[d*4+1] = y + TILESIZE/2 + (int)((TILESIZE*3/7) * y1); - coords[d*4+2] = x + TILESIZE/2 + (int)((TILESIZE*3/7) * x2); - coords[d*4+3] = y + TILESIZE/2 + (int)((TILESIZE*3/7) * y2); + coords[d*4+0] = x + TILESIZE/2 + (int)((TILESIZE*3/7) * x2); + coords[d*4+1] = y + TILESIZE/2 + (int)((TILESIZE*3/7) * y2); + coords[d*4+2] = x + TILESIZE/2 + (int)((TILESIZE*3/7) * x1); + coords[d*4+3] = y + TILESIZE/2 + (int)((TILESIZE*3/7) * y1); } draw_polygon(dr, coords, DIRECTIONS*2, COL_DEAD_PLAYER, COL_OUTLINE); } else { -- cgit v1.1