Don't allow laser traps to keep victims alive indefinitely.

This commit is contained in:
Steve 2018-04-26 09:07:32 +01:00
parent 9bafce978f
commit c4efe60abd
1 changed files with 30 additions and 30 deletions

View File

@ -123,7 +123,6 @@ static void touch(Entity *other)
{
other->dx = rrnd(-12, 12);
other->dy = rrnd(-8, 0);
}
if (t->offTime != 0)
{
@ -157,6 +156,7 @@ static void touch(Entity *other)
}
}
}
}
}
static void activate(int active)