Prevent Li's head from showing through his helmet when he fades out.
This patch fixes a cosmetic issue in which Li's head would be partially
visible through his helmet as the sprite faded out, observable when Li
enters his cave in the Veil.
--- a/game_scripts/scripts/entities/li.lua Thu Jan 06 01:26:23 2011 +0900
+++ b/game_scripts/scripts/entities/li.lua Thu Jan 06 01:31:07 2011 +0900
@@ -1173,6 +1173,8 @@
--debugLog("setting flag to 1")
setFlag(FLAG_LI, 1)
entity_alpha(me, 0, 1)
+ -- Make sure we don't see the head through the fading helmet.
+ bone_showFrame(bone_head, -1)
elseif entity_getState(me)==STATE_BURST then
debugLog("burst")
burstDelay = 6