.float gurgle_oldstomachload;\r
void Vore_GurgleSound()\r
{\r
- if(time > self.gurglesound_finished || self.gurgle_oldstomachload != self.stomach_load)\r
+ if(time > self.gurglesound_finished || (self.gurgle_oldstomachload != self.stomach_load && !self.digesting))\r
{\r
GlobalSound(self.playersound_gurgle, CHAN_TRIGGER, VOICETYPE_GURGLE);\r
\r
if(head.predator == self)\r
Vore_Regurgitate(head);\r
}\r
- Vore_GurgleSound(); // stop the gurgling sound\r
\r
self.stomach_load = self.gravity = 0; // prevents a bug\r
+ Vore_GurgleSound(); // stop the gurgling sound\r
}\r
\r
.float digestion_step;\r
if(cvar("g_balance_vore_digestion_vampire") && self.predator.health < cvar("g_balance_vore_digestion_vampire_stable"))\r
self.predator.health += damage * cvar("g_balance_vore_digestion_vampire");\r
\r
- if (self.predator.digestsound_finished < time)\r
- {\r
- PlayerSound (self.predator, playersound_digest, CHAN_PLAYER, VOICETYPE_PLAYERSOUND);\r
- self.predator.digestsound_finished = time + 0.5;\r
- }\r
self.digestion_step = time + vore_steptime;\r
}\r
\r
return;\r
}\r
\r
+ if (self.digesting && self.digestsound_finished < time)\r
+ {\r
+ PlayerSound (self, playersound_digest, CHAN_PLAYER, VOICETYPE_PLAYERSOUND);\r
+ self.digestsound_finished = time + 0.5;\r
+ }\r
if(cvar("g_vore_gurglesound"))\r
Vore_GurgleSound();\r
\r