Typo.
This commit is contained in:
Kawe Mazidjatari 2023-06-17 16:31:45 +02:00
parent b64897d4c1
commit c8648b9289

View File

@ -65,7 +65,7 @@ int ReadUserCmd(bf_read* buf, CUserCmd* move, CUserCmd* from)
// Clamp the value to make sure it never reads out of bounds. Also,
// if dual wield is disabled on the server, reset the weapon index
// value as it would otherwise allow the client to enable several
// equiped weapons at the same time.
// equipped weapons at the same time.
if (move->weaponindex >= WEAPON_INVENTORY_SLOT_PRIMARY_1)
dualWieldEnabled
? move->weaponindex = WEAPON_INVENTORY_SLOT_PRIMARY_1