Skip to content

Commit 3949570

Browse files
committed
SpriteHandler.h:
* VectorSprite::draw() : Although more talkative code, using math::toggle instead of ^= true shows clearer intent.
1 parent f08aa5b commit 3949570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SpriteHandler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ class VectorSprite : public Sprite
11571157
}
11581158

11591159
if (c1 - c0 > 1)
1160-
enable_fill ^= true;
1160+
math::toggle(enable_fill);
11611161
}
11621162
}
11631163
}

0 commit comments

Comments
 (0)