mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Fix for amb1452 - ns_give_item was giving wrong items
This commit is contained in:
parent
b9d98ede39
commit
80db0ed0b3
@ -87,7 +87,7 @@ public:
|
||||
|
||||
while (iter!=end)
|
||||
{
|
||||
if (strcmp(str,(*iter)->c_str()))
|
||||
if (strcmp(str, (*iter)->c_str()) == 0)
|
||||
{
|
||||
// String is already in the list, do not allocate it again
|
||||
return MAKE_STRING((*iter)->c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user