mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 05:06:12 +01:00
remove unnecessary boolean comparson != 0
This commit is contained in:
1 parent
b8860362a3
commit
82e4518e93
1 file changed
+1
-1
@@ -83,7 +83,7 @@ void sfMusic_destroy(const sfMusic* music)
|
||||
void sfMusic_setLooping(sfMusic* music, bool loop)
|
||||
{
|
||||
assert(music);
|
||||
music->setLooping(loop != 0);
|
||||
music->setLooping(loop);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user