- Pareix que ja van els conveyor belts, pero massa apresa, crec
This commit is contained in:
@@ -528,20 +528,27 @@ namespace actor
|
||||
if (act->pos.z == 0) return;
|
||||
if (act->below)
|
||||
{
|
||||
if (is_above(act, act->below)) return;
|
||||
if (is_above(act, act->below)) {
|
||||
if (act->below->flags & FLAG_REACTIVE) {
|
||||
act->below->push |= PUSH_ZN;
|
||||
updateReactive(act->below);
|
||||
if (act->push) updatePushable(act);
|
||||
}
|
||||
return;
|
||||
}
|
||||
act->below->above = nullptr;
|
||||
act->below = nullptr;
|
||||
}
|
||||
actor_t *below = any_below_me(act);
|
||||
if (below)
|
||||
{
|
||||
if (below->flags & FLAG_REACTIVE) {
|
||||
below->push |= PUSH_ZN;
|
||||
updateReactive(below);
|
||||
if (act->push) updatePushable(act);
|
||||
}
|
||||
act->below = below;
|
||||
below->above = act;
|
||||
if (act->below->flags & FLAG_REACTIVE) {
|
||||
act->below->push |= PUSH_ZN;
|
||||
updateReactive(act->below);
|
||||
if (act->push) updatePushable(act);
|
||||
}
|
||||
return;
|
||||
}
|
||||
vec3_t min = room::getMin();
|
||||
|
||||
Reference in New Issue
Block a user