LuaAPI: lfCurHogCrate
authorWuzzy
Mon, 03 Dec 2018 23:09:07 +0000
changeset 1637 e747c0c6bf26
parent 1636 066fcfa96de7
child 1638 0322ae59b027
LuaAPI: lfCurHogCrate
LuaAPI.wiki
--- a/LuaAPI.wiki	Mon Dec 03 23:07:13 2018 +0000
+++ b/LuaAPI.wiki	Mon Dec 03 23:09:07 2018 +0000
@@ -822,7 +822,7 @@
 
 || *Identifier* || *Collision with …* ||
 || `lfLandMask` || Terrain ||
-|| `lfCurrentHog` || *Deprecated! Do not use.* ||
+|| `lfCurHogCrate` || Current hedgehog, and crates ||
 || `lfHHMask` || Any hedgehogs ||
 || `lfNotHHObjMask` || Objects, not hogs (e.g. mines, explosives) ||
 || `lfAllObjMask` || Hedgehogs and objects ||
@@ -830,7 +830,7 @@
 Beware, the collision mask is often set by the engine as well.
 
 Examples:
-<code language="lua">SetGearCollisionMask(gear, bnot(lfCurrentHegehog))
+<code language="lua">SetGearCollisionMask(gear, bnot(lfCurHogCrate))
 -- Ignore collision with current hedgehog</code>
 
 <code language="lua">SetGearCollisionMask(gear, 0xFFFF)