Skip to content

Commit

Permalink
remove unnecessary boolean comparson != 0
Browse files Browse the repository at this point in the history
  • Loading branch information
ZXShady authored and ChrisThrasher committed Sep 27, 2024
1 parent b886036 commit 82e4518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CSFML/Audio/Music.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit 82e4518

Please sign in to comment.