and another fix...
18be893b
1 file(s) · +1 −1
| 209 | 209 | ||
| 210 | 210 | diff = sw - c->fw; |
|
| 211 | 211 | c->fx = random() % (diff ? diff : 1); |
|
| 212 | - | diff = sh - c->fh; |
|
| 212 | + | diff = sh - c->fh - bh; |
|
| 213 | 213 | c->fy = random() % (diff ? diff : 1); |
|
| 214 | 214 | ||
| 215 | 215 | c->border = 1; |