adventuregamestudio / ags

AGS editor and engine source code
Other
708 stars 159 forks source link

AGS 4: RemapBackground function failing with palette sizes of <256 entries #2433

Closed ivan-mogilko closed 6 months ago

ivan-mogilko commented 6 months ago

When writing #2393 I forgot to ensure it works with images of non-256-large palettes. Currently it crashes with any images that do not have full 256-color palette.

ivan-mogilko commented 6 months ago

Should be fixed by 1121eeb28bb5879ee50cbad2f6b088b22e2f0df1