Skip to content
Snippets Groups Projects
Commit 9930fece authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@5438 51575b47-30f0-44d4-a5cc-537603b46e54
parent f699c37f
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ function _M:generate()
local direct_draw= function(item, x, y, w, h, total_w, total_h, loffset_x, loffset_y, dest_area)
-- if there is object and is withing visible bounds
if item.object and total_h + h > loffset_y and total_h < loffset_y + dest_area.h then
if game.config.settings.fbo_active and item.object and total_h + h > loffset_y and total_h < loffset_y + dest_area.h then
local clip_y_start, clip_y_end = 0, 0
-- if it started before visible area then compute its top clip
if total_h < loffset_y then
......
......@@ -1214,6 +1214,7 @@ function _M:setupCommands()
end end,
[{"_g","ctrl"}] = function() if config.settings.cheat then
self:changeLevel(1, "noxious-caldera")
-- FINISH CALDERA
do return end
self:registerDialog(require("mod.dialogs.DownloadCharball").new())
local f, err = loadfile("/data/general/events/fearscape-portal.lua")
......
No preview for this file type
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