mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix typo
Typo.
This commit is contained in:
parent
b64897d4c1
commit
c8648b9289
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user