Now-spurious casts
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@891 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -412,7 +412,7 @@ public class StageSceneManager extends SpotSceneManager
|
||||
int minDistance)
|
||||
{
|
||||
MisoSceneMetrics metrics = StageSceneUtil.getMetrics();
|
||||
StageLocation sloc = (StageLocation)base.clone();
|
||||
StageLocation sloc = base.clone();
|
||||
int tx = MisoUtil.fullToTile(sloc.x), ty = MisoUtil.fullToTile(sloc.y);
|
||||
int oidx = sloc.orient/2;
|
||||
int lidx = (oidx+3)%4; // rotate to the left
|
||||
|
||||
@@ -75,7 +75,7 @@ public class PlacementConstraints
|
||||
// clone the map key, as the visit method reuses a
|
||||
// single ObjectInfo instance for uninteresting objects
|
||||
// in a section
|
||||
_objectData.put((ObjectInfo)info.clone(), data);
|
||||
_objectData.put(info.clone(), data);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -212,7 +212,7 @@ public class SpotSceneDirector extends BasicDirector
|
||||
int sceneId = _scdir.getScene().getId();
|
||||
log.info("Sending changeLocation request", "scid", sceneId, "loc", loc);
|
||||
|
||||
_pendingLoc = (Location)loc.clone();
|
||||
_pendingLoc = loc.clone();
|
||||
ConfirmListener clist = new ConfirmListener() {
|
||||
public void requestProcessed () {
|
||||
_location = _pendingLoc;
|
||||
|
||||
Reference in New Issue
Block a user