diff --git a/src/java/com/threerings/parlor/game/server/GameManager.java b/src/java/com/threerings/parlor/game/server/GameManager.java index 33b0e0c4..2e45f8d4 100644 --- a/src/java/com/threerings/parlor/game/server/GameManager.java +++ b/src/java/com/threerings/parlor/game/server/GameManager.java @@ -375,9 +375,10 @@ public class GameManager extends PlaceManager } /** - * Is the specified oid that of a player in this game? + * Get the player index of the specified oid, or -1 if the oid is + * not a player or is a player that is not presently in the game. */ - public int getPlayerIndex (int bodyOid) + public int getPresentPlayerIndex (int bodyOid) { return (_playerOids == null) ? -1