Explicitly check to make sure two dirty items occupying the same tile
are sprites since that's what we're actually expecting. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@557 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: DirtyItemList.java,v 1.2 2001/10/25 01:42:49 shaper Exp $
|
// $Id: DirtyItemList.java,v 1.3 2001/10/25 16:35:45 shaper Exp $
|
||||||
|
|
||||||
package com.threerings.miso.scene;
|
package com.threerings.miso.scene;
|
||||||
|
|
||||||
@@ -164,7 +164,8 @@ public class DirtyItemList extends ArrayList
|
|||||||
|
|
||||||
if (da.ox == db.ox &&
|
if (da.ox == db.ox &&
|
||||||
da.oy == db.oy &&
|
da.oy == db.oy &&
|
||||||
da.obj != db.obj) {
|
(da.obj instanceof AmbulatorySprite) &&
|
||||||
|
(db.obj instanceof AmbulatorySprite)) {
|
||||||
// we're comparing two sprites co-existing on the same
|
// we're comparing two sprites co-existing on the same
|
||||||
// tile, so study their fine coordinates to determine
|
// tile, so study their fine coordinates to determine
|
||||||
// rendering order
|
// rendering order
|
||||||
|
|||||||
Reference in New Issue
Block a user