Fix medic commander playing the wrong sound when retracting it's hook.

There's a sound commander_sound_hook_retract, it even get's precached,
but it wasn't refrerenced. Analysed and fix suggested by @BjossiAlfreds.
Closes #21.
This commit is contained in:
Yamagi Burmeister 2019-09-15 09:29:48 +02:00
parent 120e4684d1
commit d289d0f302

View file

@ -1203,7 +1203,7 @@ medic_hook_retract(edict_t *self)
}
else
{
gi.sound(self, CHAN_WEAPON, sound_hook_retract, 1, ATTN_NORM, 0);
gi.sound(self, CHAN_WEAPON, commander_sound_hook_retract, 1, ATTN_NORM, 0);
}
self->monsterinfo.aiflags &= ~AI_MEDIC;