diff options
Diffstat (limited to 'src/esp.cpp')
| -rw-r--r-- | src/esp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/esp.cpp b/src/esp.cpp index b29a0fb..a154d5c 100644 --- a/src/esp.cpp +++ b/src/esp.cpp | |||
| @@ -1426,7 +1426,7 @@ static int classify_weapon(const char *model, const char *cls, char *label, | |||
| 1426 | snprintf(label, outn, "Shotgun"); | 1426 | snprintf(label, outn, "Shotgun"); |
| 1427 | else if (item_icontains(model, "w_crossbow")) | 1427 | else if (item_icontains(model, "w_crossbow")) |
| 1428 | snprintf(label, outn, "Crossbow"); | 1428 | snprintf(label, outn, "Crossbow"); |
| 1429 | else if (item_icontains(model, "w_rpg")) | 1429 | else if (item_icontains(model, "w_rocket_launcher")) |
| 1430 | snprintf(label, outn, "RPG"); | 1430 | snprintf(label, outn, "RPG"); |
| 1431 | else if (item_icontains(model, "w_frag") || | 1431 | else if (item_icontains(model, "w_frag") || |
| 1432 | item_icontains(model, "w_grenade")) | 1432 | item_icontains(model, "w_grenade")) |
| @@ -1441,7 +1441,7 @@ static int classify_weapon(const char *model, const char *cls, char *label, | |||
| 1441 | else if (item_icontains(model, "w_sniper")) | 1441 | else if (item_icontains(model, "w_sniper")) |
| 1442 | snprintf(label, outn, "Sniper"); | 1442 | snprintf(label, outn, "Sniper"); |
| 1443 | else | 1443 | else |
| 1444 | snprintf(label, outn, "Weapon"); | 1444 | snprintf(label, outn, "%s", model); |
| 1445 | return 1; | 1445 | return 1; |
| 1446 | } | 1446 | } |
| 1447 | 1447 | ||
