We can use the raw image here because we only use its dimensions.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2532 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-05-02 23:32:56 +00:00
parent 1694881ac2
commit 55e84b0ae4
@@ -1,5 +1,5 @@
//
// $Id: UniformTileSet.java,v 1.12 2003/01/18 03:53:31 mdb Exp $
// $Id: UniformTileSet.java,v 1.13 2003/05/02 23:32:56 mdb Exp $
package com.threerings.media.tile;
@@ -65,7 +65,7 @@ public class UniformTileSet extends TileSet
// documentation inherited
protected Rectangle computeTileBounds (int tileIndex)
{
BufferedImage tsimg = getTileSetImage();
BufferedImage tsimg = getRawTileSetImage();
// figure out from whence to crop the tile
int tilesPerRow = tsimg.getWidth() / _width;