aboutsummaryrefslogtreecommitdiff
path: root/isometric.c
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2020-06-07 09:52:15 +0000
committerrodri <rgl@antares-labs.eu>2020-06-07 09:52:15 +0000
commitd6beda15798a3d1d604a033febca3756456345d1 (patch)
tree5b414c388e35e10f2aa49ecf4a2203fba6affa11 /isometric.c
parent217d72a006e3b57526d889dc5b9ac591a3254e2f (diff)
downloadetoys-d6beda15798a3d1d604a033febca3756456345d1.tar.gz
etoys-d6beda15798a3d1d604a033febca3756456345d1.tar.bz2
etoys-d6beda15798a3d1d604a033febca3756456345d1.zip
new toy: ptinline prototype.
Diffstat (limited to 'isometric.c')
-rw-r--r--isometric.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/isometric.c b/isometric.c
index afbe868..8e69ede 100644
--- a/isometric.c
+++ b/isometric.c
@@ -128,6 +128,7 @@ void
drawtile(Tile *t, Point2 cell)
{
Point p;
+
cell.x *= TW;
cell.y *= TH;
p = toscreen(cell);