Provide the colorization index when asking for an object colorization.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2572 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-05-13 02:16:21 +00:00
parent 83a4d141f9
commit c0aacd5f41
3 changed files with 9 additions and 6 deletions
@@ -1,5 +1,5 @@
//
// $Id: ObjectTileSet.java,v 1.15 2003/04/01 02:16:28 mdb Exp $
// $Id: ObjectTileSet.java,v 1.16 2003/05/13 02:16:21 mdb Exp $
package com.threerings.media.tile;
@@ -153,7 +153,7 @@ public class ObjectTileSet extends SwissArmyTileSet
if (rizer != null && _zations != null) {
zations = new Colorization[_zations.length];
for (int ii = 0; ii < _zations.length; ii++) {
zations[ii] = rizer.getColorization(_zations[ii]);
zations[ii] = rizer.getColorization(ii, _zations[ii]);
}
}
return zations;