visusnet/Blobby-Warriors — comment on commit 7ba0ac9bba7947072e9b166d5e93691d443c8d79
File: BlobbyWarriors/Source/BlobbyWarriors/Model/Entity/Blobby.cpp line 161
By visusnet:

You can combine both conditions to one if statement.