diff options
| author | Franklin Wei <git@fwei.tk> | 2017-07-22 11:00:47 -0400 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2017-07-22 11:00:47 -0400 |
| commit | 57db318a9e2de5cf9422ccf96e4f55df4840b88f (patch) | |
| tree | 74d59598b7cc61379c28170d24ee78bf64e5321f /apps/plugins/puzzles/src | |
| parent | 320ab442789f1c247a366cea4d47d9e0c380d9bc (diff) | |
| download | rockbox-puzzlesmanual.zip rockbox-puzzlesmanual.tar.gz rockbox-puzzlesmanual.tar.bz2 rockbox-puzzlesmanual.tar.xz | |
stuffpuzzlesmanual
Change-Id: Ic707fb03c2472b9a0c4ea3e64eb3620c411f661c
Diffstat (limited to 'apps/plugins/puzzles/src')
| -rw-r--r-- | apps/plugins/puzzles/src/inertia.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 { |