Skip to content
Snippets Groups Projects
Commit 2ed28170 authored by dg's avatar dg
Browse files

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@2500 51575b47-30f0-44d4-a5cc-537603b46e54
parent 30ba6bb6
No related branches found
No related tags found
No related merge requests found
......@@ -652,6 +652,7 @@ function _M:onTurn()
if self.turn % 10 ~= 0 then return end
-- Day/Night cycle, not worknig properly yet
--[[
if false then
local doTint = function (from, to, amount)
local tint = {r = 0, g = 0, b = 0}
......@@ -693,6 +694,7 @@ function _M:onTurn()
game.level.map:setObscure(tint.r+0.3, tint.g+0.3, tint.b+0.3, 1)
-- game.player.lite = lite
end
]]
-- Process overlay effects
self.level.map:processEffects()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment