Fix an incorrect Lua test which caused repeated error messages.
This patch corrects incorrect Lua syntax in an entity script which would
cause an "Entity Invalid Pointer" message to be repeatedly logged during
the secret ending.
--- a/game_scripts/scripts/entities/airship.lua Sun Dec 19 09:38:14 2010 +0900
+++ b/game_scripts/scripts/entities/airship.lua Thu Jan 06 01:20:39 2011 +0900
@@ -53,7 +53,7 @@
end
function update(me, dt)
- if attached then
+ if attached ~= 0 then
bx, by = bone_getWorldPosition(bone_attach)
entity_setPosition(attached, bx, by)
end