mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 06:04:59 +00:00
Bugfixes (#170)
* Fixed crash when setting Fogs or Panoramas to none * Generalised the initial setting of stat stages for battlers * Fixed fishing animation looking weird (especially when surfing)
This commit is contained in:
@@ -49,11 +49,19 @@ class AnimatedPlane < Plane
|
||||
end
|
||||
|
||||
def set_panorama(file, hue = 0)
|
||||
setBitmap("Graphics/Panoramas/" + file, hue)
|
||||
if file.is_a?(String) && file.length > 0
|
||||
setBitmap("Graphics/Panoramas/" + file, hue)
|
||||
else
|
||||
clear_bitmap
|
||||
end
|
||||
end
|
||||
|
||||
def set_fog(file, hue = 0)
|
||||
setBitmap("Graphics/Fogs/" + file, hue)
|
||||
if file.is_a?(String) && file.length > 0
|
||||
setBitmap("Graphics/Fogs/" + file, hue)
|
||||
else
|
||||
clear_bitmap
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user