diff options
| author | Philip <philip@philip-linuxlaptop.(none)> | 2010-11-21 06:08:33 (GMT) |
|---|---|---|
| committer | Philip <philip@philip-linuxlaptop.(none)> | 2010-11-21 06:08:33 (GMT) |
| commit | 3d2292890b2d091ba4e7b2e7c1b24dbc7be4ac2c (patch) | |
| tree | 14075cd9d067b92575b6c44121c98d71b06b8ddb /src/graphics.c | |
| parent | a38dddaf5a2106ffb3d112584f657a6c3d97c4fb (diff) | |
| download | powder-3d2292890b2d091ba4e7b2e7c1b24dbc7be4ac2c.zip powder-3d2292890b2d091ba4e7b2e7c1b24dbc7be4ac2c.tar.gz | |
Fixed ehole, made wall code use defines, wall specific deletion.
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; |
