From a090d02e8799b9e44ae547bbd482398215211afa Mon Sep 17 00:00:00 2001 From: Sarah Wesker Date: Wed, 3 Apr 2024 23:55:25 -0400 Subject: [PATCH] -Werror=unused-but-set-variable --- src/protocolgame.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/protocolgame.cpp b/src/protocolgame.cpp index fc81dfd..5260074 100644 --- a/src/protocolgame.cpp +++ b/src/protocolgame.cpp @@ -2317,12 +2317,12 @@ void ProtocolGame::sendOutfitWindow() currentOutfit.lookMount = currentMount->clientId; } - bool mounted; + /*bool mounted; if (player->wasMounted) { - mounted = currentOutfit.lookMount != 0; + mounted = currentOutfit.lookMount != 0; } else { - mounted = player->isMounted(); - } + mounted = player->isMounted(); + }*/ AddOutfit(msg, currentOutfit);