From 3a8d9e38e8c1b28dd693b23bb28705cce6d8f208 Mon Sep 17 00:00:00 2001 From: Tr0n Date: Tue, 9 Apr 2024 18:13:38 +0200 Subject: [PATCH] remove duplicate variable definition --- src/game/src/input_login.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/game/src/input_login.cpp b/src/game/src/input_login.cpp index ab5e45e..d60747c 100644 --- a/src/game/src/input_login.cpp +++ b/src/game/src/input_login.cpp @@ -455,8 +455,6 @@ void CInputLogin::CharacterCreate(LPDESC d, const char * data) return; } - const TAccountTable & c_rAccountTable = d->GetAccountTable(); - trim_and_lower(c_rAccountTable.login, player_create_packet.login, sizeof(player_create_packet.login)); strlcpy(player_create_packet.passwd, c_rAccountTable.passwd, sizeof(player_create_packet.passwd));