From af8ffaeeaebd99236b6076c9e342ff65f4786466 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Sat, 26 Oct 2019 21:25:45 +0300 Subject: Removed redundant check in IsPickupModel, TestModelIndices added --- src/modelinfo/ModelIndices.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modelinfo/ModelIndices.h') diff --git a/src/modelinfo/ModelIndices.h b/src/modelinfo/ModelIndices.h index 4a6e80d0..20d1b7f3 100644 --- a/src/modelinfo/ModelIndices.h +++ b/src/modelinfo/ModelIndices.h @@ -365,6 +365,7 @@ enum{ void InitModelIndices(void); void MatchModelString(const char *name, int16 id); +void TestModelIndices(void); inline bool IsGlass(int16 id) @@ -462,7 +463,6 @@ IsPickupModel(int16 id) id == MI_UZI || id == MI_M16 || id == MI_FLAMETHROWER || - id >= MI_M16 && id <= MI_FLAMETHROWER || id == MI_PICKUP_ADRENALINE || id == MI_PICKUP_BODYARMOUR || id == MI_PICKUP_INFO || -- cgit v1.2.3