Skip to content

Commit

Permalink
serialize and deserialize overmap_fast_travel & overmap_fast_scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
Brambor committed Sep 2, 2024
1 parent 5bde4c6 commit 58f2f1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/inventory_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ void uistatedata::serialize( JsonOut &json ) const
json.member( "overmap_debug_weather", overmap_debug_weather );
json.member( "overmap_visible_weather", overmap_visible_weather );
json.member( "overmap_debug_mongroup", overmap_debug_mongroup );
json.member( "overmap_fast_travel", overmap_fast_travel );
json.member( "overmap_fast_scroll", overmap_fast_scroll );
json.member( "distraction_noise", distraction_noise );
json.member( "distraction_pain", distraction_pain );
json.member( "distraction_attack", distraction_attack );
Expand Down Expand Up @@ -455,6 +457,8 @@ void uistatedata::deserialize( const JsonObject &jo )
jo.read( "overmap_debug_weather", overmap_debug_weather );
jo.read( "overmap_visible_weather", overmap_visible_weather );
jo.read( "overmap_debug_mongroup", overmap_debug_mongroup );
jo.read( "overmap_fast_travel", overmap_fast_travel );
jo.read( "overmap_fast_scroll", overmap_fast_scroll );
jo.read( "distraction_noise", distraction_noise );
jo.read( "distraction_pain", distraction_pain );
jo.read( "distraction_attack", distraction_attack );
Expand Down

0 comments on commit 58f2f1d

Please sign in to comment.