From 189556652cc309343a3f3ceaa482fa45b01ad562 Mon Sep 17 00:00:00 2001 From: Mathew Date: Thu, 26 Nov 2015 12:27:15 -0500 Subject: [PATCH] Added list of panoramas clamped by default --- scripts/Game_Map.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/Game_Map.rb b/scripts/Game_Map.rb index 5fdb16c..cd52efc 100644 --- a/scripts/Game_Map.rb +++ b/scripts/Game_Map.rb @@ -37,6 +37,13 @@ class Game_Map attr_reader :fog_oy # fog y-coordinate starting point attr_reader :fog_tone # fog color tone #-------------------------------------------------------------------------- + # * List of clamped panorama images + #-------------------------------------------------------------------------- + CLAMPED_PANORAMAS = [ + 'red', + 'red_distort', + ] + #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize @@ -107,7 +114,7 @@ class Game_Map # Clear particles @particles_type = nil # Unclamp panorama - @clamped_panorama = false + @clamped_panorama = CLAMPED_PANORAMAS.include? @panorama_name # Unwrap map @wrapping = false # Full bright ambient light