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:
@@ -190,7 +190,7 @@ public class SpotSceneManager extends SceneManager
|
|||||||
{
|
{
|
||||||
Portal from = _enterers.remove(body.getOid());
|
Portal from = _enterers.remove(body.getOid());
|
||||||
Portal entry;
|
Portal entry;
|
||||||
if (from != null && from.targetPortalId != (short)-1) {
|
if (from != null && from.targetPortalId != -1) {
|
||||||
entry = _sscene.getPortal(from.targetPortalId);
|
entry = _sscene.getPortal(from.targetPortalId);
|
||||||
if (entry == null) {
|
if (entry == null) {
|
||||||
Log.warning("Body mapped at invalid portal [where=" + where() +
|
Log.warning("Body mapped at invalid portal [where=" + where() +
|
||||||
|
|||||||
Reference in New Issue
Block a user