mirror of
https://github.com/XProger/OpenLara.git
synced 2025-02-24 23:42:49 +01:00
Pushable blocks 3&4
Fixes bug where pushable blocks (BLOCK_3 & BLOCK_4) could not be grabbed by Lara since isBlock only checks for BLOCK_1 & BLOCK_2 at this point in time.
This commit is contained in:
parent
52f5da1465
commit
041e1b898c
@ -648,7 +648,7 @@ namespace TR {
|
||||
}
|
||||
|
||||
bool isBlock() const {
|
||||
return type >= TR::Entity::BLOCK_1 && type <= TR::Entity::BLOCK_2;
|
||||
return type >= TR::Entity::BLOCK_1 && type <= TR::Entity::BLOCK_4;
|
||||
}
|
||||
|
||||
bool isLara() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user