Checking if (foo = bar) is begging for disaster.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@610 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -116,7 +116,8 @@ public class MetaMediaManager
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_paused = paused) {
|
_paused = paused;
|
||||||
|
if (_paused) {
|
||||||
// make a note of our pause time
|
// make a note of our pause time
|
||||||
_pauseTime = _framemgr.getTimeStamp();
|
_pauseTime = _framemgr.getTimeStamp();
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,8 @@ public class Unsafe
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (_initialized && enabled != _gcEnabled) {
|
if (_initialized && enabled != _gcEnabled) {
|
||||||
if (_gcEnabled = enabled) {
|
_gcEnabled = enabled;
|
||||||
|
if (_gcEnabled) {
|
||||||
enableGC();
|
enableGC();
|
||||||
} else {
|
} else {
|
||||||
disableGC();
|
disableGC();
|
||||||
|
|||||||
Reference in New Issue
Block a user