fix flag wind speed to use correct uint type (#2600)
This commit is contained in:
@@ -37,7 +37,7 @@ void Ship::SetWindSettingsFactoryV0::ParseFileBinary(std::shared_ptr<BinaryReade
|
|||||||
setWind->settings.windWest = reader->ReadInt8();
|
setWind->settings.windWest = reader->ReadInt8();
|
||||||
setWind->settings.windVertical = reader->ReadInt8();
|
setWind->settings.windVertical = reader->ReadInt8();
|
||||||
setWind->settings.windSouth = reader->ReadInt8();
|
setWind->settings.windSouth = reader->ReadInt8();
|
||||||
setWind->settings.windSpeed = reader->ReadInt8();
|
setWind->settings.windSpeed = reader->ReadUByte();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Ship
|
} // namespace Ship
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ typedef struct {
|
|||||||
int8_t windWest;
|
int8_t windWest;
|
||||||
int8_t windVertical;
|
int8_t windVertical;
|
||||||
int8_t windSouth;
|
int8_t windSouth;
|
||||||
int8_t windSpeed;
|
uint8_t windSpeed;
|
||||||
} WindSettings;
|
} WindSettings;
|
||||||
|
|
||||||
class SetWindSettings : public SceneCommand {
|
class SetWindSettings : public SceneCommand {
|
||||||
|
|||||||
Reference in New Issue
Block a user