From 041e1b898ce029439beceafd46e9a7ece9fc7e53 Mon Sep 17 00:00:00 2001 From: Gh0stBlade Date: Fri, 15 Sep 2017 13:37:53 +0100 Subject: [PATCH] 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. --- src/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format.h b/src/format.h index 691a13f..8585494 100644 --- a/src/format.h +++ b/src/format.h @@ -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 {