From cead8612c718fb05d2874db1edae712d81fbe991 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Mon, 4 Apr 2005 20:32:20 +0000 Subject: [PATCH] Invalid table positions may also be too low. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3458 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/parlor/data/Table.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/threerings/parlor/data/Table.java b/src/java/com/threerings/parlor/data/Table.java index e75fd1a45..e3f29a16b 100644 --- a/src/java/com/threerings/parlor/data/Table.java +++ b/src/java/com/threerings/parlor/data/Table.java @@ -176,7 +176,7 @@ public class Table } // make sure the requested position is a valid one - if (position >= maxpos) { + if (position >= maxpos || position < 0) { return INVALID_TABLE_POSITION; }