Must've been my cracksmoking. (int)-1 == (short)-1.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@325 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-06-22 23:48:18 +00:00
parent e1ca37cb16
commit b452746dc2
@@ -190,7 +190,7 @@ public class SpotSceneManager extends SceneManager
{
Portal from = _enterers.remove(body.getOid());
Portal entry;
if (from != null && from.targetPortalId != (short)-1) {
if (from != null && from.targetPortalId != -1) {
entry = _sscene.getPortal(from.targetPortalId);
if (entry == null) {
Log.warning("Body mapped at invalid portal [where=" + where() +