@@ -177,10 +177,10 @@ class gunmod_remove_activity_actor : public activity_actor
177177class hacksaw_activity_actor : public activity_actor
178178{
179179 public:
180- explicit hacksaw_activity_actor ( const tripoint &target,
180+ explicit hacksaw_activity_actor ( const tripoint_bub_ms &target,
181181 const item_location &tool ) : target( target ), tool( tool ) {};
182- explicit hacksaw_activity_actor ( const tripoint &target, const itype_id &type,
183- const tripoint &veh_pos ) : target( target ), type( type ), veh_pos( veh_pos ) {};
182+ explicit hacksaw_activity_actor ( const tripoint_bub_ms &target, const itype_id &type,
183+ const tripoint_bub_ms &veh_pos ) : target( target ), type( type ), veh_pos( veh_pos ) {};
184184 activity_id get_type () const override {
185185 return activity_id ( " ACT_HACKSAW" );
186186 }
@@ -199,10 +199,10 @@ class hacksaw_activity_actor : public activity_actor
199199 // debugmsg causes a backtrace when fired during cata_test
200200 bool testing = false ; // NOLINT(cata-serialize)
201201 private:
202- tripoint target;
202+ tripoint_bub_ms target;
203203 item_location tool;
204204 std::optional<itype_id> type;
205- std::optional<tripoint > veh_pos;
205+ std::optional<tripoint_bub_ms > veh_pos;
206206 bool can_resume_with_internal ( const activity_actor &other,
207207 const Character &/* who*/ ) const override ;
208208};
@@ -323,7 +323,7 @@ class hotwire_car_activity_actor : public activity_actor
323323 * Position of first vehicle part; used to identify the vehicle
324324 * TODO: find something more reliable (to cover cases when vehicle is moved/damaged)
325325 */
326- tripoint target;
326+ tripoint_abs_ms target;
327327
328328 bool can_resume_with_internal ( const activity_actor &other, const Character & ) const override {
329329 const hotwire_car_activity_actor &a = static_cast <const hotwire_car_activity_actor &>( other );
@@ -542,12 +542,12 @@ class pickup_activity_actor : public activity_actor
542542 * (e.g. if the player is in a moving vehicle). This should be null
543543 * if not grabbing from the ground.
544544 */
545- std::optional<tripoint > starting_pos;
545+ std::optional<tripoint_bub_ms > starting_pos;
546546
547547 public:
548548 pickup_activity_actor ( const std::vector<item_location> &target_items,
549549 const std::vector<int > &quantities,
550- const std::optional<tripoint > &starting_pos,
550+ const std::optional<tripoint_bub_ms > &starting_pos,
551551 bool autopickup ) : target_items( target_items ),
552552 quantities ( quantities ), starting_pos( starting_pos ), stash_successful( true ),
553553 autopickup( autopickup ) {}
@@ -625,7 +625,7 @@ class lockpick_activity_actor : public activity_actor
625625 int moves_total;
626626 std::optional<item_location> lockpick;
627627 std::optional<item> fake_lockpick;
628- tripoint target;
628+ tripoint_abs_ms target;
629629
630630 lockpick_activity_actor (
631631 int moves_total,
@@ -656,7 +656,7 @@ class lockpick_activity_actor : public activity_actor
656656 void do_turn ( player_activity &, Character & ) override {}
657657 void finish ( player_activity &act, Character &who ) override ;
658658
659- static std::optional<tripoint > select_location ( avatar &you );
659+ static std::optional<tripoint_bub_ms > select_location ( avatar &you );
660660
661661 std::unique_ptr<activity_actor> clone () const override {
662662 return std::make_unique<lockpick_activity_actor>( *this );
@@ -977,7 +977,7 @@ class workout_activity_actor : public activity_actor
977977 bool disable_query = false ; // disables query, continue as long as possible
978978 bool rest_mode = false ; // work or rest during training session
979979 time_duration duration;
980- tripoint location;
980+ tripoint_bub_ms location;
981981 time_point stop_time; // can resume if time apart is not above
982982 activity_id act_id = activity_id( " ACT_WORKOUT_LIGHT" ); // variable activities
983983 int intensity_modifier = 1 ;
@@ -1535,11 +1535,11 @@ class tent_deconstruct_activity_actor : public activity_actor
15351535 private:
15361536 int moves_total;
15371537 int radius;
1538- tripoint target;
1538+ tripoint_bub_ms target;
15391539 itype_id tent;
15401540
15411541 public:
1542- tent_deconstruct_activity_actor ( int moves_total, int radius, tripoint target,
1542+ tent_deconstruct_activity_actor ( int moves_total, int radius, tripoint_bub_ms target,
15431543 itype_id tent ) : moves_total( moves_total ), radius( radius ), target( target ), tent( tent ) {}
15441544
15451545 activity_id get_type () const override {
0 commit comments