Skip to content

Commit

Permalink
Don't use UINT16_MAX for initilization
Browse files Browse the repository at this point in the history
  • Loading branch information
Lihis committed Nov 30, 2023
1 parent 717eb64 commit f4b2d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rwengine/src/engine/GameState.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ struct BasicState {
uint8_t _align3[2]{0};
uint16_t nextWeather{0};
uint8_t _align4[2]{0};
uint16_t forcedWeather{UINT16_MAX};
uint16_t forcedWeather{0xFFFF};
uint8_t _align5[2]{0};
float weatherInterpolation{1.f};
uint8_t dateTime[24]{0}; // Unused
Expand Down

0 comments on commit f4b2d54

Please sign in to comment.