diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/Bindings.h | 2 | ||||
-rw-r--r-- | source/Entity.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/source/Bindings.h b/source/Bindings.h index 5d041895b..8925e328b 100644 --- a/source/Bindings.h +++ b/source/Bindings.h @@ -1,6 +1,6 @@ /* ** Lua binding: AllToLua -** Generated automatically by tolua++-1.0.92 on 06/13/13 08:12:34. +** Generated automatically by tolua++-1.0.92 on 06/15/13 20:05:14. */ /* Exported function */ 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; |