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.
This commit is contained in:
Michael Shirt 2016-09-22 14:32:13 -06:00
parent 1e6665cf27
commit 851a12ada3

View file

@ -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