Was populating the display scene from the model incorrectly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@677 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: DisplayMisoSceneImpl.java,v 1.45 2001/11/27 22:17:42 mdb Exp $
|
// $Id: DisplayMisoSceneImpl.java,v 1.46 2001/11/29 19:30:51 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.miso.scene;
|
package com.threerings.miso.scene;
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ public class DisplayMisoSceneImpl
|
|||||||
for (int column = 0; column < shei; column++) {
|
for (int column = 0; column < shei; column++) {
|
||||||
for (int row = 0; row < swid; row++) {
|
for (int row = 0; row < swid; row++) {
|
||||||
// first do the base layer
|
// first do the base layer
|
||||||
int tsid = model.baseTileIds[swid*row+column];
|
int tsid = model.baseTileIds[swid*column+row];
|
||||||
if (tsid > 0) {
|
if (tsid > 0) {
|
||||||
int tid = (tsid & 0xFFFF);
|
int tid = (tsid & 0xFFFF);
|
||||||
tsid >>= 16;
|
tsid >>= 16;
|
||||||
@@ -63,7 +63,7 @@ public class DisplayMisoSceneImpl
|
|||||||
}
|
}
|
||||||
|
|
||||||
// then the fringe layer
|
// then the fringe layer
|
||||||
tsid = model.fringeTileIds[swid*row+column];
|
tsid = model.fringeTileIds[swid*column+row];
|
||||||
if (tsid > 0) {
|
if (tsid > 0) {
|
||||||
int tid = (tsid & 0xFFFF);
|
int tid = (tsid & 0xFFFF);
|
||||||
tsid >>= 16;
|
tsid >>= 16;
|
||||||
|
|||||||
Reference in New Issue
Block a user