diff options
Diffstat (limited to 'src/graphics.c')
| -rw-r--r-- | src/graphics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.c b/src/graphics.c index b7808d9..8c873d1 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -2875,7 +2875,7 @@ void render_cursor(pixel *vid, int x, int y, int t, float rx, float ry) else { int tc; - c = (rx/CELL) * CELL; + c = ((int)rx/CELL) * CELL; x = (x/CELL) * CELL; y = (y/CELL) * CELL; |
