mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-13 16:44:50 +02: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:
@@ -648,7 +648,7 @@ namespace TR {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool isBlock() const {
|
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 {
|
bool isLara() const {
|
||||||
|
Reference in New Issue
Block a user