From 3597e0cc9c5a95584061318565feb91e532e8e2e Mon Sep 17 00:00:00 2001 From: Yimura Date: Sat, 26 Dec 2020 17:10:05 +0100 Subject: [PATCH] fix(Teleport): Conflicting definitions of default arguments --- BigBaseV2/src/features/teleport.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BigBaseV2/src/features/teleport.cpp b/BigBaseV2/src/features/teleport.cpp index 96b0c50c..6ad2635a 100644 --- a/BigBaseV2/src/features/teleport.cpp +++ b/BigBaseV2/src/features/teleport.cpp @@ -44,7 +44,7 @@ namespace big::features::teleport return true; } - bool bring_blip(int blipSprite, int blipColor, int flag = 70) + bool bring_blip(int blipSprite, int blipColor, int flag) { Blip blipHandle = HUD::GET_FIRST_BLIP_INFO_ID(blipSprite); while (HUD::DOES_BLIP_EXIST(blipHandle) && (blipColor != -1 && HUD::GET_BLIP_COLOUR(blipHandle) != blipColor)) @@ -75,7 +75,7 @@ namespace big::features::teleport if (!VEHICLE::ARE_ANY_VEHICLE_SEATS_FREE(veh)) { - features::notify_above_map("The vehicle is full."); + features::notify::above_map("The vehicle is full."); ENTITY::SET_ENTITY_COORDS(player, location.x, location.y, location.z + 3.f, 0, 0, 0, true); } else @@ -86,7 +86,7 @@ namespace big::features::teleport return true; } - bool teleport_to_blip(int blipSprite, int blipColor = -1) + bool teleport_to_blip(int blipSprite, int blipColor) { Ped player = PLAYER::GET_PLAYER_PED_SCRIPT_INDEX(g_playerId);