Don't allow laser traps to keep victims alive indefinitely.
This commit is contained in:
parent
9bafce978f
commit
c4efe60abd
|
@ -123,7 +123,6 @@ static void touch(Entity *other)
|
|||
{
|
||||
other->dx = rrnd(-12, 12);
|
||||
other->dy = rrnd(-8, 0);
|
||||
}
|
||||
|
||||
if (t->offTime != 0)
|
||||
{
|
||||
|
@ -158,6 +157,7 @@ static void touch(Entity *other)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void activate(int active)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue