diff options
author | Fernando Carmona Varo <ferkiwi@gmail.com> | 2015-11-11 00:26:01 +0100 |
---|---|---|
committer | Fernando Carmona Varo <ferkiwi@gmail.com> | 2015-11-11 00:26:01 +0100 |
commit | c62d9b9a3dfb32dae3377a2fe27c5d1febd7a05a (patch) | |
tree | d680f84eb80c34adbdb28639d7b0bfdb16b8dd96 /pacmine/ghost.lua | |
parent | c9a814a173e70746b8756ca39bd1fdc694610e8a (diff) |
Fixed turtles going through portals, fly/noclip/fast priviledges will be temporarily disabled during the game, and increased a bit ghost radius
Diffstat (limited to 'pacmine/ghost.lua')
-rw-r--r-- | pacmine/ghost.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pacmine/ghost.lua b/pacmine/ghost.lua index 08167fa..ca9febd 100644 --- a/pacmine/ghost.lua +++ b/pacmine/ghost.lua @@ -80,7 +80,7 @@ for i in ipairs(ghosts) do -- find distance from ghost to player local distance = ((p.x-s.x)^2 + (p.y-s.y)^2 + (p.z-s.z)^2)^0.5 - if distance < 1.5 then + if distance < 1.6 then -- player touches ghost!! if gamestate.power_pellet then |