Fixed style issues
This commit is contained in:
parent
a0ba7426c6
commit
6acddd0cad
@ -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"; }
|
||||||
|
@ -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;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user