Make VOID and BHOL eat stickmen again
Broken by making stickmen heads pass through everything, since the eating happened in try_move, which stickmen no longer use for head movement.
This commit is contained in:
parent
966f1dcc23
commit
1f4f50682c
@ -476,6 +476,19 @@ void STKM_interact(playerst* playerp, int i, int x, int y)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (((r&0xFF)==PT_BHOL || (r&0xFF)==PT_NBHL) && parts[i].type)
|
||||||
|
{
|
||||||
|
if (!legacy_enable)
|
||||||
|
{
|
||||||
|
parts[r>>8].temp = restrict_flt(parts[r>>8].temp+parts[i].temp/2, MIN_TEMP, MAX_TEMP);
|
||||||
|
}
|
||||||
|
kill_part(i);
|
||||||
|
}
|
||||||
|
if (((r&0xFF)==PT_VOID || ((r&0xFF)==PT_PVOD && parts[r>>8].life==10)) && (!parts[r>>8].ctype || (parts[r>>8].ctype==parts[i].type)!=(parts[r>>8].tmp&1)) && parts[i].type)
|
||||||
|
{
|
||||||
|
kill_part(i);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user