ZVISION: Assertion fails on locales with decimal comma
|Reported by:||angstsmurf||Owned by:|
|Cc:||Game:||Zork Grand Inquisitor|
When compiled on recent macOS and Xcode 10, Zvision games will fail with "Assertion failed: (scale > 0.0f), function setPanoramaScale, file engines/zvision/graphics/render_table.cpp, line 219" when trying to display the panorama screen. This is not the case when compiling on earlier systems, perhaps because libc++ is used instead of libstdc++.
This is likely to cause issues in other engines that use atof, sscanf("%f") and similar.