Merge branch 'multicast' into 'master'

Fix two excessive type casting instances

See merge request OpenMW/openmw!953
dont-compose-content
Evil Eye 4 years ago
commit 1a421c3b2e

@ -49,7 +49,7 @@ namespace ESM
void WeatherState::save(ESMWriter& esm) const
{
esm.writeHNCString(currentRegionRecord, mCurrentRegion.c_str());
esm.writeHNCString(currentRegionRecord, mCurrentRegion);
esm.writeHNT(timePassedRecord, mTimePassed);
esm.writeHNT(fastForwardRecord, mFastForward);
esm.writeHNT(weatherUpdateTimeRecord, mWeatherUpdateTime);

@ -94,7 +94,7 @@ namespace Resource
Files::IStreamPtr stream;
try
{
stream = mVFS->get(normalized.c_str());
stream = mVFS->get(normalized);
}
catch (std::exception& e)
{

Loading…
Cancel
Save