Move 'notif_name == "TeleportRequest"' inside parentheses to avoid ambiguity

Found by Darl - thanks

Signed-off-by: PanteraPolnocy <panterapolnocy@gmail.com>
This commit is contained in:
Beq
2026-05-22 19:19:27 +01:00
parent 74efeaad9b
commit 10bd3c9f93
+2 -1
View File
@@ -114,7 +114,8 @@ bool LLOfferHandler::processNotification(const LLNotificationPtr& notification,
&& gSavedSettings.getBOOL("PlayModeUISndInventoryOffer"))
|| ((notif_name == "TeleportOffered" || notif_name == "TeleportOffered_SLUrl" ||
notif_name == "TeleportOffered_MaturityExceeded" || notif_name == "TeleportOffered_MaturityExceeded_SLUrl" ||
notif_name == "TeleportOffered_MaturityBlocked" || notif_name == "TeleportOffered_MaturityBlocked_SLUrl")
notif_name == "TeleportOffered_MaturityBlocked" || notif_name == "TeleportOffered_MaturityBlocked_SLUrl" ||
notif_name == "TeleportRequest")
&& gSavedSettings.getBOOL("PlayModeUISndTeleportOffer"));
// </FS:Ansariel>