remove unnecessary boolean comparson != 0

This commit is contained in:
ZXShady authored and Chris Thrasher committed 2024-09-27 14:41:21 -06:00
1 parent b8860362a3
commit 82e4518e93
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}