1
0

Fixed style issues

This commit is contained in:
Tycho 2014-08-06 13:19:22 +01:00
parent a0ba7426c6
commit 6acddd0cad
3 changed files with 8 additions and 5 deletions

View File

@ -61,7 +61,10 @@ public:
virtual void SetRedstonePower(bool a_Value) virtual void SetRedstonePower(bool a_Value)
{ {
if (a_Value) MakeSound(); if (a_Value)
{
MakeSound();
}
} }
static const char * GetClassStatic(void) { return "cNoteEntity"; } static const char * GetClassStatic(void) { return "cNoteEntity"; }

View File

@ -8,6 +8,6 @@ public:
virtual ~cRedstonePoweredEntity() {}; virtual ~cRedstonePoweredEntity() {};
/// Sets the internal redstone power flag to "on" or "off", depending on the parameter. Calls Activate() if appropriate /// Sets the internal redstone power flag to "on" or "off", depending on the parameter. Calls Activate() if appropriate
virtual void SetRedstonePower(bool a_IsPowered) = 0; virtual void SetRedstonePower(bool a_IsPowered) = 0;
}; };