Permalink
Browse files

Fixed Sophia's house map.

I forgot to fix two collision calls.
  • Loading branch information...
1 parent 8066317 commit fb3620e8c75a03a9514b796407b0ed6f75dd0ac4 Yohann Ferreira committed Sep 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 dat/maps/layna_village/layna_village_center_sophia_house.lua
@@ -270,7 +270,7 @@ function _CreateObjects()
object = CreateObject(Map, "Left Window Light", 21, 21);
- object:SetNoCollision(true);
+ object:SetCollisionMask(hoa_map.MapMode.NO_COLLISION);
object:SetDrawOnSecondPass(true); -- Above any other ground object
if (object ~= nil) then Map:AddGroundObject(object) end;
@@ -279,7 +279,7 @@ function _CreateObjects()
object = CreateObject(Map, "Right Window Light", 35, 21);
object:SetDrawOnSecondPass(true); -- Above any other ground object
- object:SetNoCollision(true);
+ object:SetCollisionMask(hoa_map.MapMode.NO_COLLISION);
if (object ~= nil) then Map:AddGroundObject(object) end;
end

0 comments on commit fb3620e

Please sign in to comment.