Let's just call clearOccupant() clearOccupantByOid() to avoid differences
between the Java and ActionScript version since ActionScript doesn't support method overloading. We only have to observe this limitation in Streamable classes. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@88 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -278,7 +278,7 @@ public class Table
|
|||||||
* removed, false if the user was never seated at the table in the
|
* removed, false if the user was never seated at the table in the
|
||||||
* first place.
|
* first place.
|
||||||
*/
|
*/
|
||||||
public boolean clearOccupant (int bodyOid)
|
public boolean clearOccupantByOid (int bodyOid)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < bodyOids.length; i++) {
|
for (int i = 0; i < bodyOids.length; i++) {
|
||||||
if (bodyOid == bodyOids[i]) {
|
if (bodyOid == bodyOids[i]) {
|
||||||
|
|||||||
@@ -335,7 +335,7 @@ public class TableManager
|
|||||||
}
|
}
|
||||||
|
|
||||||
// remove this occupant from the table
|
// remove this occupant from the table
|
||||||
if (!pender.clearOccupant(bodyOid)) {
|
if (!pender.clearOccupantByOid(bodyOid)) {
|
||||||
Log.warning("Attempt to remove body from mapped table failed " +
|
Log.warning("Attempt to remove body from mapped table failed " +
|
||||||
"[table=" + pender + ", bodyOid=" + bodyOid + "].");
|
"[table=" + pender + ", bodyOid=" + bodyOid + "].");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user