From 5c99f3fadafa03664da4a179af28ed4db4980048 Mon Sep 17 00:00:00 2001 From: Howaner Date: Wed, 17 Dec 2014 17:28:24 +0100 Subject: Fixed eMonsterType lua bugs. --- src/Mobs/MonsterTypes.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Mobs') diff --git a/src/Mobs/MonsterTypes.h b/src/Mobs/MonsterTypes.h index dc6dd3992..3175f0606 100644 --- a/src/Mobs/MonsterTypes.h +++ b/src/Mobs/MonsterTypes.h @@ -37,6 +37,7 @@ enum eMonsterType mtWolf = E_META_SPAWN_EGG_WOLF, mtZombie = E_META_SPAWN_EGG_ZOMBIE, mtZombiePigman = E_META_SPAWN_EGG_ZOMBIE_PIGMAN, + mtMax = 120, } ; // tolua_end -- cgit v1.2.3 From fff108f20a8962f6690a9dff45176c7f31c8cf01 Mon Sep 17 00:00:00 2001 From: Howaner Date: Wed, 17 Dec 2014 19:16:35 +0100 Subject: Added comment. --- src/Mobs/MonsterTypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mobs') diff --git a/src/Mobs/MonsterTypes.h b/src/Mobs/MonsterTypes.h index 3175f0606..6886bd51a 100644 --- a/src/Mobs/MonsterTypes.h +++ b/src/Mobs/MonsterTypes.h @@ -37,7 +37,7 @@ enum eMonsterType mtWolf = E_META_SPAWN_EGG_WOLF, mtZombie = E_META_SPAWN_EGG_ZOMBIE, mtZombiePigman = E_META_SPAWN_EGG_ZOMBIE_PIGMAN, - mtMax = 120, + mtMax = 120, // This is just a hotfix for #http://forum.mc-server.org/showthread.php?tid=1616. Tolua is too bad to find the highest value, so this is needed. } ; // tolua_end -- cgit v1.2.3 From c2926f8de1709d660cdca130f95a24623e2007c2 Mon Sep 17 00:00:00 2001 From: Howaner Date: Wed, 17 Dec 2014 20:08:55 +0100 Subject: derp --- src/Mobs/MonsterTypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mobs') diff --git a/src/Mobs/MonsterTypes.h b/src/Mobs/MonsterTypes.h index 6886bd51a..bbe9e0471 100644 --- a/src/Mobs/MonsterTypes.h +++ b/src/Mobs/MonsterTypes.h @@ -37,7 +37,7 @@ enum eMonsterType mtWolf = E_META_SPAWN_EGG_WOLF, mtZombie = E_META_SPAWN_EGG_ZOMBIE, mtZombiePigman = E_META_SPAWN_EGG_ZOMBIE_PIGMAN, - mtMax = 120, // This is just a hotfix for #http://forum.mc-server.org/showthread.php?tid=1616. Tolua is too bad to find the highest value, so this is needed. + mtMax = 120, // This is just a hotfix for http://forum.mc-server.org/showthread.php?tid=1616. Tolua is too bad to find the highest value, so this is needed. } ; // tolua_end -- cgit v1.2.3