From c7888d777c9d5bc377bc37df8b56d9c3653e77b2 Mon Sep 17 00:00:00 2001 From: scatterflower Date: Thu, 8 Apr 2021 14:09:33 -0500 Subject: [PATCH] woops change that var name too --- src/packets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packets.cpp b/src/packets.cpp index 9301e55..dd4d225 100644 --- a/src/packets.cpp +++ b/src/packets.cpp @@ -145,7 +145,7 @@ void AOClient::pktSelectChar(AreaData* area, int argc, QStringList argv, AOPacke bool argument_ok; int selected_char_id = argv[1].toInt(&argument_ok); if (!argument_ok) { - char_id = -1; + selected_char_id = -1; return; }