1
0

Made comment in example code smaller

It caused the whole page to extend beyond the max width
This commit is contained in:
STRWarrior 2014-12-13 15:34:46 +01:00
parent 4f2931dd39
commit 3fb10f064c

View File

@ -2564,7 +2564,9 @@ World:ForEachEntity(
if not(a_Entity:IsMob()) then if not(a_Entity:IsMob()) then
return; return;
end end
local Monster = tolua.cast(a_Entity, "cMonster"); -- Get the cMonster out of cEntity, now that we know the entity represents one.
-- Get the cMonster out of cEntity, now that we know the entity represents one.
local Monster = tolua.cast(a_Entity, "cMonster");
if (Monster:GetMobType() == mtSpider) then if (Monster:GetMobType() == mtSpider) then
Monster:TeleportToCoords(Monster:GetPosX(), Monster:GetPosY() + 100, Monster:GetPosZ()); Monster:TeleportToCoords(Monster:GetPosX(), Monster:GetPosY() + 100, Monster:GetPosZ());
end end