mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 13:23:45 -07:00
fix flag wind speed to use correct uint type (#2600)
This commit is contained in:
parent
2117d98178
commit
60f4f71495
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ void Ship::SetWindSettingsFactoryV0::ParseFileBinary(std::shared_ptr<BinaryReade
|
|||
setWind->settings.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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue