Checking if (foo = bar) is begging for disaster.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@708 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -269,7 +269,8 @@ public class DropSprite extends Sprite
|
||||
*/
|
||||
public void setBouncing (boolean bouncing)
|
||||
{
|
||||
if (_bouncing = bouncing) {
|
||||
_bouncing = bouncing;
|
||||
if (_bouncing) {
|
||||
// if we've activated bouncing, shift the sprite slightly to
|
||||
// illustrate its new state
|
||||
shiftForBounce();
|
||||
@@ -328,7 +329,7 @@ public class DropSprite extends Sprite
|
||||
|
||||
// Log.info("getPercentDone [timestamp=" + timestamp +
|
||||
// ", rowstamp=" + _rowstamp + ", msecs=" + msecs +
|
||||
// ", travpix=" + travpix + ", pctdone=" + pctdone +
|
||||
// ", travpix=" + travpix + ", pctdone=" + pctdone +
|
||||
// ", vel=" + _vel + "].");
|
||||
|
||||
return pctdone;
|
||||
|
||||
Reference in New Issue
Block a user