From 5b62c4c3145c08b093521e42c565922fa85de4ad Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Fri, 26 Jun 2015 17:24:51 -0500 Subject: Reorganised the redstone simulator -> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved --- src/BlockEntities/NoteEntity.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/BlockEntities/NoteEntity.cpp') diff --git a/src/BlockEntities/NoteEntity.cpp b/src/BlockEntities/NoteEntity.cpp index 0b110b14e..0eef633dc 100644 --- a/src/BlockEntities/NoteEntity.cpp +++ b/src/BlockEntities/NoteEntity.cpp @@ -44,7 +44,7 @@ void cNoteEntity::MakeSound(void) { // TODO: add other wood-based blocks if needed instrument = E_INST_DOUBLE_BASS; - sampleName = "note.db"; + sampleName = "note.bassattack"; break; } @@ -76,7 +76,7 @@ void cNoteEntity::MakeSound(void) { // TODO: add other stone-based blocks if needed instrument = E_INST_BASS_DRUM; - sampleName = "note.bassattack"; + sampleName = "note.bd"; break; } -- cgit v1.2.3