mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-26 03:12:18 -05:00
fix flag wind speed to use correct uint type (#2600)
This commit is contained in:
parent
2117d98178
commit
60f4f71495
@ -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…
Reference in New Issue
Block a user