ameisen / SV-SpriteMaster

SpriteMaster Mod for Stardew Valley
Mozilla Public License 2.0
13 stars 11 forks source link

Crash fix #5

Closed cjmanca closed 2 years ago

cjmanca commented 3 years ago

Fixed a crash when first going to the wizard tower. May have fixed other crashes too, but haven't played enough with it to tell for sure.

Also updated it to be compatible with Harmony 2.1

ameisen commented 3 years ago

I actually have this fixed locally (but differently).

This doesn't quite fix the crash, just prevents it from crashing entirely.

As far as I can tell, the crashing was caused by my work in supporting inverted sprite dimensions. This could result in negative values getting passed around resulting in invalid indices.