Fixes
This commit is contained in:
@@ -23,6 +23,7 @@ void updateMiner(Tile *tile) {
|
||||
if (targetOutItemType != TYPE_AIR && outItem->type == 0) {
|
||||
if (tile->miscVal == 0) {
|
||||
tile->audioCh = getAvailableChannel();
|
||||
tile->fixedFrame = 0;
|
||||
if (tile->audioCh < NUM_SYNTH_VOICES) {
|
||||
audioData.synthVoices[tile->audioCh].volume = 64;
|
||||
audioData.synthVoices[tile->audioCh].phase = 0;
|
||||
@@ -36,9 +37,12 @@ void updateMiner(Tile *tile) {
|
||||
if (tile->audioCh < NUM_SYNTH_VOICES) {
|
||||
audioData.synthVoices[tile->audioCh].volume = 0;
|
||||
}
|
||||
tile->fixedFrame = 1;
|
||||
tile->miscVal = 0;
|
||||
outItem->type = targetOutItemType;
|
||||
outItem->offset = -0.5f;
|
||||
}
|
||||
} else {
|
||||
tile->fixedFrame = 1;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user