igorseabra4 / HeroesPowerPlant

Level editor for Sonic Heroes (PC, GameCube, XBOX, PS2) and Shadow the Hedgehog (GameCube, XBOX, PS2). Integrates editors for various file types with a 3D view of the stage.
27 stars 14 forks source link

Use generic SetObject type when exporting INI #53

Closed PTKay closed 8 months ago

PTKay commented 8 months ago

When trying to export an INI to Shadow stages, HeroesPowerPlant fails since it tries to cast the set objects into Heroes ones. Using the generic SetObject class instead of the Heroes specific one solves this issue.

dreamsyntax commented 8 months ago

Thanks, I'll test with some inputs/outputs before merging.