mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-20 22:09:55 +00:00
fixed lighiting with default map transition
This commit is contained in:
parent
e33ba85c03
commit
c7f5c28760
1 changed files with 1 additions and 12 deletions
|
|
@ -256,6 +256,7 @@ class Scene_Map
|
|||
$game_temp.transition_processing = false
|
||||
# Execute transition
|
||||
if $game_temp.transition_name == ""
|
||||
update
|
||||
Graphics.transition(20)
|
||||
elsif $game_temp.transition_name == "black"
|
||||
@blackfade.visible = true
|
||||
|
|
@ -400,18 +401,6 @@ class Scene_Map
|
|||
Graphics.frame_reset
|
||||
end
|
||||
#--------------------------------------------------------------------------
|
||||
# * Lighting operations
|
||||
#--------------------------------------------------------------------------
|
||||
def add_light(id, filename, intensity, x, y)
|
||||
@spriteset.add_light(id, filename, intensity, x, y)
|
||||
end
|
||||
def del_light(id)
|
||||
@spriteset.del_light(id)
|
||||
end
|
||||
def clear_lights
|
||||
@spriteset.clear_lights
|
||||
end
|
||||
#--------------------------------------------------------------------------
|
||||
# * Particle operations
|
||||
#--------------------------------------------------------------------------
|
||||
def particles=(val)
|
||||
|
|
|
|||
Loading…
Reference in a new issue