From 58f2f1d6acd27f972967b9bfed324de7fe1fee80 Mon Sep 17 00:00:00 2001 From: Brambor Date: Mon, 2 Sep 2024 14:40:50 +0200 Subject: [PATCH] serialize and deserialize overmap_fast_travel & overmap_fast_scroll --- src/inventory_ui.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/inventory_ui.cpp b/src/inventory_ui.cpp index ca45c87b48a1e..2498e59deb76a 100644 --- a/src/inventory_ui.cpp +++ b/src/inventory_ui.cpp @@ -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 ); @@ -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 );