changeset 1350 | fd0136012af1 |
parent 1349 | 15979a2e9001 |
child 1359 | 52782e5cf7c9 |
--- a/landscape.c Thu Feb 10 05:43:30 2005 +0000 +++ b/landscape.c Thu Feb 10 12:14:38 2005 +0000 @@ -476,7 +476,7 @@ byte direction; r = Random(); - p = GetSpritePtr((((r >> 24) * _genterrain_tbl_1[type]) >> 8) + _genterrain_tbl_2[type] + 4845); + p = GetNonSprite((((r >> 24) * _genterrain_tbl_1[type]) >> 8) + _genterrain_tbl_2[type] + 4845); x = r & MapMaxX(); y = (r >> MapLogX()) & MapMaxY();