From d88f390b9edc9068560109f89100e11fe438a5e5 Mon Sep 17 00:00:00 2001 From: "nielsbreu@gmail.com" Date: Sat, 15 Jun 2013 18:11:27 +0000 Subject: Entity: Added IsTNT Once again I wasn't paying attention.. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1594 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Entity.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/Entity.h') diff --git a/source/Entity.h b/source/Entity.h index b1bcbfd7f..49a7a5b0d 100644 --- a/source/Entity.h +++ b/source/Entity.h @@ -91,6 +91,7 @@ public: bool IsPickup (void) const { return (m_EntityType == etPickup); } bool IsMob (void) const { return (m_EntityType == etMob); } bool IsMinecart(void) const { return (m_EntityType == etMinecart); } + bool IsTNT (void) const { return (m_EntityType == etTNT); } /// Returns true if the entity is of the specified class or a subclass (cPawn's IsA("cEntity") returns true) virtual bool IsA(const char * a_ClassName) const; -- cgit v1.2.3