mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 14:54:30 +01:00
Apply some refactoring
This commit is contained in:
committed by
Michael Steenbeek
parent
386a399a51
commit
06afeeda9a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user