Checkus sanitorium.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2349 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: LineSegmentPath.java,v 1.28 2003/02/12 05:27:57 mdb Exp $
|
// $Id: LineSegmentPath.java,v 1.29 2003/03/30 02:19:56 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.media.util;
|
package com.threerings.media.util;
|
||||||
|
|
||||||
@@ -251,6 +251,11 @@ public class LineSegmentPath
|
|||||||
protected boolean headToNextNode (
|
protected boolean headToNextNode (
|
||||||
Pathable pable, long startstamp, long now)
|
Pathable pable, long startstamp, long now)
|
||||||
{
|
{
|
||||||
|
if (_niter == null) {
|
||||||
|
throw new IllegalStateException(
|
||||||
|
"headToNextNode() called before init()");
|
||||||
|
}
|
||||||
|
|
||||||
// check to see if we've completed our path
|
// check to see if we've completed our path
|
||||||
if (!_niter.hasNext()) {
|
if (!_niter.hasNext()) {
|
||||||
// move the pathable to the location of our last destination
|
// move the pathable to the location of our last destination
|
||||||
|
|||||||
Reference in New Issue
Block a user