Reappear after 1 or 2 seconds.
This commit is contained in:
parent
f3bf29b333
commit
11960757cc
|
@ -190,7 +190,7 @@ static void applyDamage(int damage)
|
||||||
{
|
{
|
||||||
u->action = reappear;
|
u->action = reappear;
|
||||||
u->flags |= EF_GONE;
|
u->flags |= EF_GONE;
|
||||||
u->thinkTime = rand() % FPS;
|
u->thinkTime = rrnd(FPS, FPS * 2);
|
||||||
addTeleportStars(self);
|
addTeleportStars(self);
|
||||||
playSound(SND_APPEAR, CH_ANY);
|
playSound(SND_APPEAR, CH_ANY);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue