mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-06 19:01:06 +03:00
Fix jumping into objects
This commit is contained in:
parent
f2f20ad36d
commit
ededdc0c1d
2 changed files with 2 additions and 2 deletions
|
@ -665,8 +665,6 @@ void lara_col_forwardjump(ITEM_INFO* item, COLL_INFO* coll)
|
|||
|
||||
if (coll->Middle.Floor != NO_HEIGHT)
|
||||
item->pos.yPos += coll->Middle.Floor;
|
||||
|
||||
AnimateLara(item);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -441,6 +441,8 @@ namespace TEN::Entities::Doors
|
|||
floor->TriggerIndex = 0;
|
||||
|
||||
// FIXME: HACK!!!!!!!
|
||||
// We should find a better way of dealing with doors using new floordata.
|
||||
|
||||
floor->WallPortal = -1;
|
||||
floor->FloorCollision.Portals[0] = NO_ROOM;
|
||||
floor->FloorCollision.Portals[1] = NO_ROOM;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue