mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Simplify lua-esque assignment
`success = success && savesettings();` is now changed to `success &= savesettings();`. It's bitwise, and I think C++ should have had a &&= for completeness, but it shouldn't matter here.
This commit is contained in:
@@ -4816,7 +4816,7 @@ bool Game::savestats(const bool stats_only /*= true*/)
|
||||
|
||||
if (!stats_only)
|
||||
{
|
||||
success = success && savesettings();
|
||||
success &= savesettings();
|
||||
}
|
||||
|
||||
return success;
|
||||
|
||||
Reference in New Issue
Block a user