1
0
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:
Gh0stBlade 2017-09-15 13:37:53 +01:00
parent 52f5da1465
commit 041e1b898c

View File

@ -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 {