From 851a12ada3f5242ff1417f1edd5d70f57293724d Mon Sep 17 00:00:00 2001 From: Michael Shirt Date: Thu, 22 Sep 2016 14:32:13 -0600 Subject: [PATCH] Fixing issue where niko's lightmap clips everything On maps where the ambient is set via an event/script, niko's lightbulb clips through anything solid. This case here seems to be the culprit. --- scripts/Sprite_Character.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Sprite_Character.rb b/scripts/Sprite_Character.rb index b5aa42f..d45a4c7 100644 --- a/scripts/Sprite_Character.rb +++ b/scripts/Sprite_Character.rb @@ -30,7 +30,7 @@ class Sprite_Character #-------------------------------------------------------------------------- def update # Choose the appropriate light sprite - @light_sprite.viewport = ($game_map.ambient.blank? && $game_screen.tone.blank?) ? @viewport : @light_viewport + @light_sprite.viewport = ($game_screen.tone.blank?) ? @viewport : @light_viewport # Update sprites @sprite.update @light_sprite.update