diff --git a/src/util/mobile.hpp b/src/util/mobile.hpp index 57927571..0d05c91a 100644 --- a/src/util/mobile.hpp +++ b/src/util/mobile.hpp @@ -112,7 +112,7 @@ namespace big::mobile inline void summon_vehicle_by_index(int veh_idx) { - if (*scr_globals::mechanic_global.at(979).as() != -1) + if (*scr_globals::mechanic_global.at(985).as() != -1) return g_notification_service->push_warning("Vehicle", "Mechanic is not ready to deliver a vehicle right now."); if (g.clone_pv.spawn_inside && self::veh) @@ -127,11 +127,11 @@ namespace big::mobile // only do this when spawn inside is enabled otherwise the vehicle will spawn relatively far away from players if (g.clone_pv.spawn_inside) { - *scr_globals::mechanic_global.at(936).as() = 1;// disable vehicle node distance check + *scr_globals::mechanic_global.at(942).as() = 1;// disable vehicle node distance check } - *scr_globals::mechanic_global.at(923).as() = 1;// tell freemode to spawn our vehicle - *scr_globals::mechanic_global.at(982).as() = 0;// required - *scr_globals::mechanic_global.at(979).as() = veh_idx; + *scr_globals::mechanic_global.at(928).as() = 1;// tell freemode to spawn our vehicle + *scr_globals::mechanic_global.at(988).as() = 0;// required + *scr_globals::mechanic_global.at(985).as() = veh_idx; script::get_current()->yield(100ms); @@ -140,7 +140,7 @@ namespace big::mobile *script_local(freemode_thread, 18630).at(176).as() = 0;// spawn vehicle instantly // blocking call till vehicle is delivered - notify::busy_spinner("Delivering vehicle...", scr_globals::mechanic_global.at(979).as(), -1); + notify::busy_spinner("Delivering vehicle...", scr_globals::mechanic_global.at(985).as(), -1); if (g.clone_pv.spawn_inside) { @@ -148,4 +148,4 @@ namespace big::mobile } } } -} \ No newline at end of file +}