mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-02-17 09:37:50 +01:00
Fixed assignment to boolean in "if" condition
From Peter Most.
This commit is contained in:
parent
38a802870b
commit
32048fc152
|
@ -307,7 +307,7 @@ public abstract class ChessBoard extends View {
|
|||
*/
|
||||
final public void setPosition(Position pos) {
|
||||
boolean doInvalidate = false;
|
||||
if (anim.paused = true) {
|
||||
if (anim.paused) {
|
||||
anim.paused = false;
|
||||
doInvalidate = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user