1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00

Apply some refactoring

This commit is contained in:
Christian F. Coors
2017-10-03 00:00:32 +02:00
committed by Michael Steenbeek
parent 386a399a51
commit 06afeeda9a
60 changed files with 221 additions and 292 deletions

View File

@@ -126,7 +126,7 @@ bool NetworkGroup::CanPerformAction(size_t index) const
{
return false;
}
return (ActionsAllowed[byte] & (1 << bit)) ? true : false;
return (ActionsAllowed[byte] & (1 << bit)) != 0;
}
bool NetworkGroup::CanPerformCommand(sint32 command) const