From 11960757cca130780e3d24524d9b36cddc24a6c9 Mon Sep 17 00:00:00 2001 From: Steve Date: Fri, 9 Feb 2018 07:20:12 +0000 Subject: [PATCH] Reappear after 1 or 2 seconds. --- src/entities/unit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/unit.c b/src/entities/unit.c index 337aae7..ee7b563 100644 --- a/src/entities/unit.c +++ b/src/entities/unit.c @@ -190,7 +190,7 @@ static void applyDamage(int damage) { u->action = reappear; u->flags |= EF_GONE; - u->thinkTime = rand() % FPS; + u->thinkTime = rrnd(FPS, FPS * 2); addTeleportStars(self); playSound(SND_APPEAR, CH_ANY); }