diff --git a/Source/effects.cpp b/Source/effects.cpp index 2eccd7db2..fc4915bb9 100644 --- a/Source/effects.cpp +++ b/Source/effects.cpp @@ -6,7 +6,7 @@ int sfxdnum; HANDLE sfx_stream; TSFX *sfx_data_cur; -const char monster_action_sounds[] = { 'a', 'h', 'd', 's' }; +const char MonstSndChar[] = { 'a', 'h', 'd', 's' }; /* data */ @@ -935,9 +935,9 @@ void InitMonsterSND(int monst) mtype = Monsters[monst].mtype; for (i = 0; i < 4; i++) { - if (monster_action_sounds[i] != 's' || monsterdata[mtype].snd_special) { + if (MonstSndChar[i] != 's' || monsterdata[mtype].snd_special) { for (j = 0; j < 2; j++) { - sprintf(name, monsterdata[mtype].sndfile, monster_action_sounds[i], j + 1); + sprintf(name, monsterdata[mtype].sndfile, MonstSndChar[i], j + 1); path = (char *)DiabloAllocPtr(strlen(name) + 1); strcpy(path, name); pSnd = sound_file_load(path); diff --git a/Source/effects.h b/Source/effects.h index 300bf1458..8ed845e69 100644 --- a/Source/effects.h +++ b/Source/effects.h @@ -30,7 +30,7 @@ void __stdcall effects_play_sound(char *snd_file); /* rdata */ -extern const char monster_action_sounds[]; +extern const char MonstSndChar[]; /* data */