diff --git a/soh/soh/resource/importer/scenecommand/SetWindSettingsFactory.cpp b/soh/soh/resource/importer/scenecommand/SetWindSettingsFactory.cpp index f22a9c2d8..f4d3be08b 100644 --- a/soh/soh/resource/importer/scenecommand/SetWindSettingsFactory.cpp +++ b/soh/soh/resource/importer/scenecommand/SetWindSettingsFactory.cpp @@ -37,7 +37,7 @@ void Ship::SetWindSettingsFactoryV0::ParseFileBinary(std::shared_ptrsettings.windWest = reader->ReadInt8(); setWind->settings.windVertical = reader->ReadInt8(); setWind->settings.windSouth = reader->ReadInt8(); - setWind->settings.windSpeed = reader->ReadInt8(); + setWind->settings.windSpeed = reader->ReadUByte(); } } // namespace Ship diff --git a/soh/soh/resource/type/scenecommand/SetWindSettings.h b/soh/soh/resource/type/scenecommand/SetWindSettings.h index b51bdf839..2a8825fc7 100644 --- a/soh/soh/resource/type/scenecommand/SetWindSettings.h +++ b/soh/soh/resource/type/scenecommand/SetWindSettings.h @@ -12,7 +12,7 @@ typedef struct { int8_t windWest; int8_t windVertical; int8_t windSouth; - int8_t windSpeed; + uint8_t windSpeed; } WindSettings; class SetWindSettings : public SceneCommand {