From 344ed7fc31c1421265b508b7b0bc6ce92151ec8e Mon Sep 17 00:00:00 2001 From: DepressedTWM Date: Tue, 21 Jul 2026 13:08:13 +0400 Subject: [PATCH] a --- README.md | 2 +- scripts/Sprite_Footprint.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e341909..2324669 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Target of sunshine mod - improve original game. * Cmake * C/C++ compiler * xxd - * Ruby 3+ + * Ruby 3.4+ * Boost * SDL3 * pixman diff --git a/scripts/Sprite_Footprint.rb b/scripts/Sprite_Footprint.rb index 21fa147..25c8f53 100644 --- a/scripts/Sprite_Footprint.rb +++ b/scripts/Sprite_Footprint.rb @@ -12,7 +12,7 @@ class Sprite_Footprint < Sprite self.bitmap = RPG::Cache.misc('footprints') self.src_rect.set(0, 16 * (direction / 2 - 1), 16, 16) - self.shader = character_name.start_with?("en") || (character_name.start_with?("niko") && $game_switches[160]) ? Shader::WorldMachine : Shader::Sprite + self.shader = (Settings[:twm_shader] and Settings[:twm_shader_footprint]) and ($game_switches[160] or Settings[:true_memory_mode]) and (character_name.start_with?("en") or character_name.start_with?("niko")) ? Shader::WorldMachine : Shader::Sprite update end