#============================================================================== # ■ RGSS3 VXAce_SP1ピクチャ処理致命的不具合修正 Ver1.00 by 星潟 #------------------------------------------------------------------------------ # ファイル名を指定せずに基準位置を中心にしてピクチャの表示を行った際 # エラーが出る致命的不具合を修正します。 #============================================================================== class Sprite_Picture < Sprite #-------------------------------------------------------------------------- # 原点の更新 #-------------------------------------------------------------------------- alias update_origin_noname update_origin def update_origin if @picture.name.empty? self.ox = 0 self.oy = 0 else update_origin_noname end end end