mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-26 14:10:55 +00:00
fix misplaced braces in the last else case
Submitted by: Ozkan Sezer
This commit is contained in:
parent
a2c0f5cb4f
commit
40183c82ae
1 changed files with 3 additions and 1 deletions
|
@ -742,7 +742,9 @@ makron_pain(edict_t *self, edict_t *other /* unused */, float kick, int damage)
|
||||||
gi.sound(self, CHAN_VOICE, sound_pain6, 1, ATTN_NONE, 0);
|
gi.sound(self, CHAN_VOICE, sound_pain6, 1, ATTN_NONE, 0);
|
||||||
self->monsterinfo.currentmove = &makron_move_pain6;
|
self->monsterinfo.currentmove = &makron_move_pain6;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
if (random() <= 0.35)
|
if (random() <= 0.35)
|
||||||
{
|
{
|
||||||
gi.sound(self, CHAN_VOICE, sound_pain6, 1, ATTN_NONE, 0);
|
gi.sound(self, CHAN_VOICE, sound_pain6, 1, ATTN_NONE, 0);
|
||||||
|
|
Loading…
Reference in a new issue