diff options
Diffstat (limited to '')
-rw-r--r-- | source/Defines.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/Defines.h b/source/Defines.h index e40da0420..ba62a241e 100644 --- a/source/Defines.h +++ b/source/Defines.h @@ -29,9 +29,11 @@ inline bool IsValidBlock( int a_BlockID ) //tolua_export return false;
} //tolua_export
-inline bool isValidItem( int a_ItemID ) //tolua_export
+// Was old :o
+// Changed to fit the style ;)
+inline bool IsValidItem( int a_ItemID ) //tolua_export
{ //tolua_export
- if( (a_ItemID >= 256 && a_ItemID <= 358)
+ if( (a_ItemID >= 256 && a_ItemID <= 383)
|| (a_ItemID == 2256 || a_ItemID == 2257) )
{
return true;
|