Remove useless setting

This commit is contained in:
Chairn 2022-05-25 00:12:38 +02:00
parent 03f95108b4
commit 0076edf499
37 changed files with 24 additions and 147 deletions

View file

@ -21,7 +21,7 @@
== ﺖﻀﻣ ﻦﻧﺍﻮﺛ %i == ﺖﻀﻣ ﻦﻧﺍﻮﺛ %i
%s wins! %s wins!
== !ﺯﺎﻓ %s == !ﺯﺎﻓ %s
-Page %d- -Page %d-
== -ﺔﺤﻔﺻ &d- == -ﺔﺤﻔﺻ &d-
@ -765,9 +765,6 @@ AntiPing: predict weapons
Highlighted message Highlighted message
== ﻪﻴﺒﻨﺘﻟﺍ ﻞﺋﺎﺳﺭ == ﻪﻴﺒﻨﺘﻟﺍ ﻞﺋﺎﺳﺭ
Reset wanted weapon on death
== ﺕﻮﻤﻟﺍ ﺪﻨﻋ ﺏﻮﻠﻄﻣ ﺡﻼﺳ ﻦﻴﻴﻌﺗ ﺓﺩﺎﻋﺇ
Switch weapon when out of ammo Switch weapon when out of ammo
== ﺓﺮﻴﺧﺬﻟﺍ ﺫﺎﻔﻧ ﺪﻨﻋ ﺡﻼﺴﻟﺍ ﺮﻴﻴﻐﺗ == ﺓﺮﻴﺧﺬﻟﺍ ﺫﺎﻔﻧ ﺪﻨﻋ ﺡﻼﺴﻟﺍ ﺮﻴﻴﻐﺗ
@ -802,7 +799,7 @@ Reset
== ﻦﻴﻴﻌﺗ ﺓﺩﺎﻋﺇ == ﻦﻴﻴﻌﺗ ﺓﺩﺎﻋﺇ
Automatically create statboard csv Automatically create statboard csv
== statboard ﻞﻤﻋ ﻲﺋﺎﻘﻠﺗ == statboard ﻞﻤﻋ ﻲﺋﺎﻘﻠﺗ
Show tiles layers from BG map Show tiles layers from BG map
== ﺔﻴﻔﻠﺨﻟﺍ ﺏﺎﻤﻠﻟ ﺐﻧﺎﺠﺘﻟﺍ ﺕﺎﻘﺒﻃ ﺭﺎﻬﻇﺇ == ﺔﻴﻔﻠﺨﻟﺍ ﺏﺎﻤﻠﻟ ﺐﻧﺎﺠﺘﻟﺍ ﺕﺎﻘﺒﻃ ﺭﺎﻬﻇﺇ

View file

@ -859,9 +859,6 @@ Smooth Dynamic Camera
Switch weapon when out of ammo Switch weapon when out of ammo
== ==
Reset wanted weapon on death
==
Show only chat messages from friends Show only chat messages from friends
== ==

View file

@ -775,9 +775,6 @@ Save
Switch weapon when out of ammo Switch weapon when out of ammo
== Promijeni oružje kada nestane municije == Promijeni oružje kada nestane municije
Reset wanted weapon on death
== Resetuj željeno oružije prilikom smrti
Show only chat messages from friends Show only chat messages from friends
== Prikaži čat poruke samo od prijatelja == Prikaži čat poruke samo od prijatelja

View file

@ -860,9 +860,6 @@ Highlighted message
Alpha Alpha
== Alfa == Alfa
Reset wanted weapon on death
== Redefinir arma desejada ao morrer
Length: Length:
== Duração: == Duração:

View file

@ -856,9 +856,6 @@ Smooth Dynamic Camera
Switch weapon when out of ammo Switch weapon when out of ammo
== ==
Reset wanted weapon on death
==
Show only chat messages from friends Show only chat messages from friends
== ==

View file

@ -738,9 +738,6 @@ Threaded sound loading
Check now Check now
== Comprova ara == Comprova ara
Reset wanted weapon on death
== Reiniciar l'arma desitjada al morir
Frags Frags
== Morts causades == Morts causades
@ -1084,7 +1081,7 @@ The width of texture %s is not divisible by %d, or the height is not divisible b
== La mida de la textura %s no es divisible per %d, o l'altura no es divisible per %d, el qual pot resultar en errors visuals. == La mida de la textura %s no es divisible per %d, o l'altura no es divisible per %d, el qual pot resultar en errors visuals.
Warning Warning
== Advertència == Advertència
Debug mode enabled. Press Ctrl+Shift+D to disable debug mode. Debug mode enabled. Press Ctrl+Shift+D to disable debug mode.
== Mode de depuració activat. Utilitza Ctrl+Shift+D per desactivar-lo. == Mode de depuració activat. Utilitza Ctrl+Shift+D per desactivar-lo.
@ -1219,7 +1216,7 @@ Client message
== Missatge del client == Missatge del client
Preview Preview
== Vista prèvia == Vista prèvia
Show local player's key presses Show local player's key presses
== Mostrar les tecles premudes del jugador local == Mostrar les tecles premudes del jugador local
@ -1277,7 +1274,7 @@ Editor
[Start menu] [Start menu]
Play Play
== Jugar == Jugar
AFR AFR
== AFR == AFR

View file

@ -859,9 +859,6 @@ Smooth Dynamic Camera
Switch weapon when out of ammo Switch weapon when out of ammo
== ==
Reset wanted weapon on death
==
Show only chat messages from friends Show only chat messages from friends
== ==

View file

@ -691,7 +691,7 @@ Countries
== Země == Země
Types Types
== Typy == Typy
DDNet %s is out! DDNet %s is out!
== DDNet %s je venku! == DDNet %s je venku!
@ -765,9 +765,6 @@ Save
Switch weapon when out of ammo Switch weapon when out of ammo
== Změnit zbraň když vám dojdou náboje == Změnit zbraň když vám dojdou náboje
Reset wanted weapon on death
== Resetujte hledanou zbraň po smrti
Show only chat messages from friends Show only chat messages from friends
== Zobrazit pouze zprávy od přátel == Zobrazit pouze zprávy od přátel

View file

@ -609,7 +609,7 @@ Type:
== Type: == Type:
Successfully saved the replay! Successfully saved the replay!
== Afspilning blev gemt! == Afspilning blev gemt!
Saving ddnet-settings.cfg failed Saving ddnet-settings.cfg failed
== Gemning af ddnet-settings.cfg mislykkedes == Gemning af ddnet-settings.cfg mislykkedes
@ -809,9 +809,6 @@ Smooth Dynamic Camera
Switch weapon when out of ammo Switch weapon when out of ammo
== Skift våben, når du er ude af ammunition == Skift våben, når du er ude af ammunition
Reset wanted weapon on death
== Nulstil ønsket våben ved døden
Show only chat messages from friends Show only chat messages from friends
== Vis kun chatbeskeder fra venner == Vis kun chatbeskeder fra venner
@ -1131,7 +1128,7 @@ Run server
== Kør server == Kør server
Server executable not found, can't run server Server executable not found, can't run server
== Server eksekverbar blev ikke fundet, kan ikke køre server == Server eksekverbar blev ikke fundet, kan ikke køre server
Editor Editor
== Redaktør == Redaktør

View file

@ -787,9 +787,6 @@ Save
Switch weapon when out of ammo Switch weapon when out of ammo
== Verander wapen wanneer de munitie op is == Verander wapen wanneer de munitie op is
Reset wanted weapon on death
== Reset gewild wapen bij het doodgaan
Show only chat messages from friends Show only chat messages from friends
== Laat alleen berichten van vrienden zien == Laat alleen berichten van vrienden zien

View file

@ -841,9 +841,6 @@ Smooth Dynamic Camera
Switch weapon when out of ammo Switch weapon when out of ammo
== Vaihda asetta ammusten loppuessa == Vaihda asetta ammusten loppuessa
Reset wanted weapon on death
== Palauta haluttu ase kuollessa
Show only chat messages from friends Show only chat messages from friends
== Näytä chattiviestit vain ystäviltä == Näytä chattiviestit vain ystäviltä

View file

@ -625,18 +625,6 @@ Name plates size
Type: Type:
== Type : == Type :
##### generated by copy_fix.py, please translate this #####
##### generated by copy_fix.py, please translate this #####
##### generated by copy_fix.py, please translate this #####
##### generated by copy_fix.py, please translate this #####
Enable game sounds Enable game sounds
== Activer les sons du jeu == Activer les sons du jeu
@ -646,9 +634,6 @@ DDNet Client needs to be restarted to complete update!
Toggle dummy Toggle dummy
== Basculer vers le dummy == Basculer vers le dummy
Reset wanted weapon on death
== Réinitialiser l'arme choisie après être mort
No updates available No updates available
== Pas de mise à jour disponible == Pas de mise à jour disponible

View file

@ -790,9 +790,6 @@ AntiPing: predict weapons
Highlighted message Highlighted message
== Hervorgehobene Nachricht == Hervorgehobene Nachricht
Reset wanted weapon on death
== Waffe beim Tod zurücksetzen
Switch weapon when out of ammo Switch weapon when out of ammo
== Waffe wechseln wenn Munition leer ist == Waffe wechseln wenn Munition leer ist

View file

@ -862,9 +862,6 @@ Smooth Dynamic Camera
Switch weapon when out of ammo Switch weapon when out of ammo
== ==
Reset wanted weapon on death
==
Show clan above name plates Show clan above name plates
== ==

View file

@ -727,9 +727,6 @@ Remove chat
Check now Check now
== Nézd meg == Nézd meg
Reset wanted weapon on death
== Újraéledéskor váltson az akart fegyverre
Frags Frags
== Zászlók == Zászlók

View file

@ -841,9 +841,6 @@ Smooth Dynamic Camera
Switch weapon when out of ammo Switch weapon when out of ammo
== Cambia arma quando senza munizioni == Cambia arma quando senza munizioni
Reset wanted weapon on death
== Resetta l'arma voluta quando muori
Show only chat messages from friends Show only chat messages from friends
== Mostra solo messaggi da parte di amici == Mostra solo messaggi da parte di amici
@ -923,10 +920,10 @@ Toggle ghost
== Attiva/disattiva ghost == Attiva/disattiva ghost
Dummy copy Dummy copy
== Dummy copy == Dummy copy
Hammerfly dummy Hammerfly dummy
== Hammerfly dummy == Hammerfly dummy
Laser Laser
== Laser/cecchino == Laser/cecchino

View file

@ -817,9 +817,6 @@ Smooth Dynamic Camera
Switch weapon when out of ammo Switch weapon when out of ammo
== 弾薬切れの時に武器を切り替え == 弾薬切れの時に武器を切り替え
Reset wanted weapon on death
== 死亡時に武器をデフォルトにリセット
Show only chat messages from friends Show only chat messages from friends
== 友たちからのメッセージのみを表示 == 友たちからのメッセージのみを表示

View file

@ -831,9 +831,6 @@ Smooth Dynamic Camera
Switch weapon when out of ammo Switch weapon when out of ammo
== 탄약 고갈 시 무기 교체 == 탄약 고갈 시 무기 교체
Reset wanted weapon on death
== 사망 시 기본 무기로 전환
Show clan above name plates Show clan above name plates
== 이름 위에 클랜 표시 == 이름 위에 클랜 표시
@ -1319,13 +1316,13 @@ AUS
== 호주 == 호주
EUR EUR
== 유럽 == 유럽
NA NA
== 북미 == 북미
SA SA
== 남미 == 남미
CHN CHN
== 중국 == 중국
@ -1367,7 +1364,7 @@ Allows maps to render with more detail
== 맵의 세부사항을 렌더링합니다. == 맵의 세부사항을 렌더링합니다.
When you cross the start line, show a ghost tee replicating the movements of your best time When you cross the start line, show a ghost tee replicating the movements of your best time
== 출발선을 넘으면 당신의 최고 기록을 재현하는 고스트 Tee가 표시됩니다. == 출발선을 넘으면 당신의 최고 기록을 재현하는 고스트 Tee가 표시됩니다.
Opacity Opacity
== 불투명도 == 불투명도

View file

@ -853,9 +853,6 @@ Smooth Dynamic Camera
Switch weapon when out of ammo Switch weapon when out of ammo
== ==
Reset wanted weapon on death
==
Show clan above name plates Show clan above name plates
== ==

View file

@ -777,9 +777,6 @@ Save
Switch weapon when out of ammo Switch weapon when out of ammo
== Bytt våpen ved tom ammo == Bytt våpen ved tom ammo
Reset wanted weapon on death
== Tilbakestill våpen ved død
Show only chat messages from friends Show only chat messages from friends
== Vis kun meldinger fra venner == Vis kun meldinger fra venner

View file

@ -556,9 +556,6 @@ Switch weapon on pickup
Switch weapon when out of ammo Switch weapon when out of ammo
== ﺕﺎﻤﻬﻣ ﻥﺪﺷ ﻡﺎﻤﺗ ﻡﺎﮕﻨﻫ ﻪﺤﻠﺳﺍ ﺮﯿﯿﻐﺗ == ﺕﺎﻤﻬﻣ ﻥﺪﺷ ﻡﺎﻤﺗ ﻡﺎﮕﻨﻫ ﻪﺤﻠﺳﺍ ﺮﯿﯿﻐﺗ
Reset wanted weapon on death
== گﺮﻣ ﺯﺍ ﺪﻌﺑ ﻪﺤﻠﺳﺍ ﯽﻧﺎﺸﻧﺯﺎﺑ
Show only chat messages from friends Show only chat messages from friends
== ﻩﺪﺑ ﻥﺎﺸﻧ ﺍﺭ ﻥﺎﺘﺳﻭﺩ ﺖﭼ ﻂﻘﻓ == ﻩﺪﺑ ﻥﺎﺸﻧ ﺍﺭ ﻥﺎﺘﺳﻭﺩ ﺖﭼ ﻂﻘﻓ

View file

@ -679,9 +679,6 @@ Select a name
Switch weapon when out of ammo Switch weapon when out of ammo
== Zmień broń, gdy skończy się amunicja == Zmień broń, gdy skończy się amunicja
Reset wanted weapon on death
== Zresetuj broń, którą chcesz podnieść po śmierci
Dummy settings Dummy settings
== Ustawienia dummy == Ustawienia dummy

View file

@ -1097,9 +1097,6 @@ Pause
Smooth Dynamic Camera Smooth Dynamic Camera
== ==
Reset wanted weapon on death
==
Skip the main menu Skip the main menu
== ==

View file

@ -868,9 +868,6 @@ Smooth Dynamic Camera
Switch weapon when out of ammo Switch weapon when out of ammo
== ==
Reset wanted weapon on death
==
Show clan above name plates Show clan above name plates
== ==

View file

@ -450,9 +450,6 @@ Switch weapon on pickup
Switch weapon when out of ammo Switch weapon when out of ammo
== Переключать оружие без патронов == Переключать оружие без патронов
Reset wanted weapon on death
== Сбрасывать выбор оружия при смерти
Show only chat messages from friends Show only chat messages from friends
== Показывать сообщения только от друзей == Показывать сообщения только от друзей
@ -616,7 +613,7 @@ Join game
== Играть == Играть
FSAA samples FSAA samples
== FSAA сэмплов == FSAA сэмплов
Sound volume Sound volume
== Громкость звука == Громкость звука

View file

@ -863,9 +863,6 @@ Smooth Dynamic Camera
Switch weapon when out of ammo Switch weapon when out of ammo
== ==
Reset wanted weapon on death
==
Show only chat messages from friends Show only chat messages from friends
== ==

View file

@ -131,7 +131,7 @@ Disconnected
== Прекинута веза == Прекинута веза
Downloading map Downloading map
== Преузимам мапу == Преузимам мапу
Draw! Draw!
== Нерешено! == Нерешено!
@ -808,9 +808,6 @@ Activate
Switch weapon when out of ammo Switch weapon when out of ammo
== Замени оружје кад нема муниције == Замени оружје кад нема муниције
Reset wanted weapon on death
== Ресетуј тражено оружје на смрт
Show clan above name plates Show clan above name plates
== Прикажи клан изнад плочице са именима == Прикажи клан изнад плочице са именима
@ -890,7 +887,7 @@ Dummy copy
== Зајед. крет. копије == Зајед. крет. копије
Hammerfly dummy Hammerfly dummy
== Лет. чекићем коп. == Лет. чекићем коп.
Converse Converse
== Сви дописивање == Сви дописивање

View file

@ -499,9 +499,6 @@ Show clan above name plates
Clan plates size Clan plates size
== 战队名称大小 == 战队名称大小
Reset wanted weapon on death
== 死亡后自动切换回默认武器
Team Team
== 队伍 == 队伍
@ -1055,7 +1052,7 @@ Toggle dyncam
== 动态视野开关 == 动态视野开关
DDraceNetwork is a cooperative online game where the goal is for you and your group of tees to reach the finish line of the map. As a newcomer you should start on Novice servers, which host the easiest maps. Consider the ping to choose a server close to you. DDraceNetwork is a cooperative online game where the goal is for you and your group of tees to reach the finish line of the map. As a newcomer you should start on Novice servers, which host the easiest maps. Consider the ping to choose a server close to you.
== DDraceNetwork 是一款在线合作游戏,你和你团体里的 Tee 的目标是抵达地图的终点。作为新手你应该从有着最简单的地图的简单Novice 服务器入门。根据延迟来选择离你相近的服务器。 == DDraceNetwork 是一款在线合作游戏,你和你团体里的 Tee 的目标是抵达地图的终点。作为新手你应该从有着最简单的地图的简单Novice 服务器入门。根据延迟来选择离你相近的服务器。
It's recommended that you check the settings to adjust them to your liking before joining a server. It's recommended that you check the settings to adjust them to your liking before joining a server.
== 建议你在进入服务器前检查一下设置并根据你的喜好进行调整。 == 建议你在进入服务器前检查一下设置并根据你的喜好进行调整。

View file

@ -859,9 +859,6 @@ Smooth Dynamic Camera
Switch weapon when out of ammo Switch weapon when out of ammo
== ==
Reset wanted weapon on death
==
Show only chat messages from friends Show only chat messages from friends
== ==

View file

@ -790,9 +790,6 @@ Save
Switch weapon when out of ammo Switch weapon when out of ammo
== Cambiar de arma cuando se acabe la munición == Cambiar de arma cuando se acabe la munición
Reset wanted weapon on death
== Restablecer el arma deseada al morir
Show clan above name plates Show clan above name plates
== Mostrar el clan por encima de los nombres == Mostrar el clan por encima de los nombres
@ -1356,7 +1353,7 @@ Graphics cards
== Tarjetas de video == Tarjetas de video
auto auto
== auto. == auto.
Tutorial Tutorial
== Tutorial == Tutorial

View file

@ -631,7 +631,7 @@ Default zoom
== Standard zoom == Standard zoom
Dummy copy Dummy copy
== Dummy kopiering == Dummy kopiering
Show tiles layers from BG map Show tiles layers from BG map
== Visa tiles lager från BG bana == Visa tiles lager från BG bana
@ -804,9 +804,6 @@ Update failed! Check log...
Check now Check now
== Kolla nu == Kolla nu
Reset wanted weapon on death
== Återställ önskade vapen vid död
Search Search
== Sök == Sök

View file

@ -489,9 +489,6 @@ Show clan above name plates
Clan plates size Clan plates size
== 戰隊名稱大小 == 戰隊名稱大小
Reset wanted weapon on death
== 死亡後自動切換回預設武器
Team Team
== 隊伍 == 隊伍

View file

@ -783,9 +783,6 @@ Save
Switch weapon when out of ammo Switch weapon when out of ammo
== Mermi kalmadığında silahı değiştir == Mermi kalmadığında silahı değiştir
Reset wanted weapon on death
== Ölünce varsayılan silahı kullan
Show only chat messages from friends Show only chat messages from friends
== Sadece arkadaşlardan gelen mesajları göster == Sadece arkadaşlardan gelen mesajları göster

View file

@ -736,14 +736,11 @@ Save
Switch weapon when out of ammo Switch weapon when out of ammo
== Змінювати зброю коли закінчились боєприпаси == Змінювати зброю коли закінчились боєприпаси
Reset wanted weapon on death
== Скидати вибір зброї при смерті
Show only chat messages from friends Show only chat messages from friends
== Показувати повідомлення тільки від друзів == Показувати повідомлення тільки від друзів
Name plates size Name plates size
== Розмір ніків == Розмір ніків
Use team colors for name plates Use team colors for name plates
== Розфарбовувати ім'я гравця кольором команди == Розфарбовувати ім'я гравця кольором команди
@ -929,7 +926,7 @@ Show votes window after voting
== Показувати голосування після вашого голосу == Показувати голосування після вашого голосу
Messages Messages
== Повідомлення == Повідомлення
System message System message
== Системне повідомлення == Системне повідомлення
@ -1085,7 +1082,7 @@ Replay
== Повтор == Повтор
Saving ddnet-settings.cfg failed Saving ddnet-settings.cfg failed
== Збереження налаштувань невдалося == Збереження налаштувань невдалося
The width of texture %s is not divisible by %d, or the height is not divisible by %d, which might cause visual bugs. The width of texture %s is not divisible by %d, or the height is not divisible by %d, which might cause visual bugs.
== Ширина або висота текстури %s не поділяється на %d, що може викликати візуальні помилки == Ширина або висота текстури %s не поділяється на %d, що може викликати візуальні помилки
@ -1208,7 +1205,7 @@ Chat sound volume
== Гучність звуку чату == Гучність звуку чату
Background music volume Background music volume
== Гучність музики заднього фону == Гучність музики заднього фону
Assets Assets
== Текстури == Текстури

View file

@ -31,7 +31,6 @@ MACRO_CONFIG_INT(ClAutoScreenshot, cl_auto_screenshot, 0, 0, 1, CFGFLAG_SAVE | C
MACRO_CONFIG_INT(ClAutoScreenshotMax, cl_auto_screenshot_max, 10, 0, 1000, CFGFLAG_SAVE | CFGFLAG_CLIENT, "Maximum number of automatically created screenshots (0 = no limit)") MACRO_CONFIG_INT(ClAutoScreenshotMax, cl_auto_screenshot_max, 10, 0, 1000, CFGFLAG_SAVE | CFGFLAG_CLIENT, "Maximum number of automatically created screenshots (0 = no limit)")
MACRO_CONFIG_INT(ClAutoCSV, cl_auto_csv, 0, 0, 1, CFGFLAG_SAVE | CFGFLAG_CLIENT, "Automatically create game over csv") MACRO_CONFIG_INT(ClAutoCSV, cl_auto_csv, 0, 0, 1, CFGFLAG_SAVE | CFGFLAG_CLIENT, "Automatically create game over csv")
MACRO_CONFIG_INT(ClAutoCSVMax, cl_auto_csv_max, 10, 0, 1000, CFGFLAG_SAVE | CFGFLAG_CLIENT, "Maximum number of automatically created csvs (0 = no limit)") MACRO_CONFIG_INT(ClAutoCSVMax, cl_auto_csv_max, 10, 0, 1000, CFGFLAG_SAVE | CFGFLAG_CLIENT, "Maximum number of automatically created csvs (0 = no limit)")
MACRO_CONFIG_INT(ClResetWantedWeaponOnDeath, cl_reset_wanted_weapon_on_death, 1, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Reset wanted weapon on death")
MACRO_CONFIG_INT(ClShowBroadcasts, cl_show_broadcasts, 1, 0, 1, CFGFLAG_CLIENT, "Show broadcasts ingame") MACRO_CONFIG_INT(ClShowBroadcasts, cl_show_broadcasts, 1, 0, 1, CFGFLAG_CLIENT, "Show broadcasts ingame")
MACRO_CONFIG_INT(ClPrintBroadcasts, cl_print_broadcasts, 1, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Print broadcasts to console") MACRO_CONFIG_INT(ClPrintBroadcasts, cl_print_broadcasts, 1, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Print broadcasts to console")
MACRO_CONFIG_INT(ClPrintMotd, cl_print_motd, 1, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Print motd to console") MACRO_CONFIG_INT(ClPrintMotd, cl_print_motd, 1, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Print motd to console")

View file

@ -101,8 +101,6 @@ void CControls::OnRelease()
void CControls::OnPlayerDeath() void CControls::OnPlayerDeath()
{ {
if(g_Config.m_ClResetWantedWeaponOnDeath)
m_LastData[g_Config.m_ClDummy].m_WantedWeapon = m_InputData[g_Config.m_ClDummy].m_WantedWeapon = 0;
for(int &AmmoCount : m_AmmoCount) for(int &AmmoCount : m_AmmoCount)
AmmoCount = 0; AmmoCount = 0;
m_JoystickTapTime = 0; // Do not launch hook on first tap m_JoystickTapTime = 0; // Do not launch hook on first tap

View file

@ -136,12 +136,6 @@ void CMenus::RenderSettingsGeneral(CUIRect MainView)
if(DoButton_CheckBox(&g_Config.m_ClAutoswitchWeaponsOutOfAmmo, Localize("Switch weapon when out of ammo"), g_Config.m_ClAutoswitchWeaponsOutOfAmmo, &Button)) if(DoButton_CheckBox(&g_Config.m_ClAutoswitchWeaponsOutOfAmmo, Localize("Switch weapon when out of ammo"), g_Config.m_ClAutoswitchWeaponsOutOfAmmo, &Button))
g_Config.m_ClAutoswitchWeaponsOutOfAmmo ^= 1; g_Config.m_ClAutoswitchWeaponsOutOfAmmo ^= 1;
// weapon reset on death
Left.HSplitTop(5.0f, 0, &Left);
Left.HSplitTop(20.0f, &Button, &Left);
if(DoButton_CheckBox(&g_Config.m_ClResetWantedWeaponOnDeath, Localize("Reset wanted weapon on death"), g_Config.m_ClResetWantedWeaponOnDeath, &Button))
g_Config.m_ClResetWantedWeaponOnDeath ^= 1;
// chat messages // chat messages
Right.HSplitTop(5.0f, 0, &Right); Right.HSplitTop(5.0f, 0, &Right);
Right.HSplitTop(20.0f, &Button, &Right); Right.HSplitTop(20.0f, &Button, &Right);