Need to obtain the current turn-holder index before checking to see if the

submitting player is the current turn-holder.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@468 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2001-11-24 22:41:21 +00:00
parent c8484e1602
commit e97604580c
@@ -1,5 +1,5 @@
//
// $Id: AtlantiManager.java,v 1.18 2001/11/24 08:26:52 shaper Exp $
// $Id: AtlantiManager.java,v 1.19 2001/11/24 22:41:21 mdb Exp $
package com.threerings.venison;
@@ -692,6 +692,7 @@ public class VenisonManager
{
public void handleEvent (MessageEvent event)
{
int pidx = getTurnHolderIndex();
if (_playerOids[pidx] != event.getSourceOid()) {
Log.warning("Requested to place nothing by non-turn holder " +
"[event=" + event +