allow use failures to propagate from the entity/block to the player
This commit is contained in:
@@ -19,11 +19,12 @@ cNoteEntity::cNoteEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_Wo
|
||||
|
||||
|
||||
|
||||
void cNoteEntity::UsedBy(cPlayer * a_Player)
|
||||
bool cNoteEntity::UsedBy(cPlayer * a_Player)
|
||||
{
|
||||
UNUSED(a_Player);
|
||||
IncrementPitch();
|
||||
MakeSound();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user