Merge pull request #6085 from WooxSolo/refactor-sounds

Rename unknownSoundValues2 to queuedSoundEffectDelays
This commit is contained in:
Adam
2018-10-19 14:34:36 -04:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -48,14 +48,14 @@ public abstract class PlaySoundEffectMixin implements RSClient
int[] queuedSoundEffectIDs = getQueuedSoundEffectIDs();
int[] unknownSoundValues1 = getUnknownSoundValues1();
int[] unknownSoundValues2 = getUnknownSoundValues2();
int[] queuedSoundEffectDelays = getQueuedSoundEffectDelays();
RSSoundEffect[] audioEffects = getAudioEffects();
int[] soundLocations = getSoundLocations();
int queuedSoundEffectCount = getQueuedSoundEffectCount();
queuedSoundEffectIDs[queuedSoundEffectCount] = id;
unknownSoundValues1[queuedSoundEffectCount] = 0;
unknownSoundValues2[queuedSoundEffectCount] = 0;
queuedSoundEffectDelays[queuedSoundEffectCount] = 0;
audioEffects[queuedSoundEffectCount] = null;
soundLocations[queuedSoundEffectCount] = position;

View File

@@ -452,8 +452,8 @@ public interface RSClient extends RSGameEngine, Client
@Import("unknownSoundValues1")
int[] getUnknownSoundValues1();
@Import("unknownSoundValues2")
int[] getUnknownSoundValues2();
@Import("queuedSoundEffectDelays")
int[] getQueuedSoundEffectDelays();
@Import("queuedSoundEffectCount")
int getQueuedSoundEffectCount();