mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 14:58:06 +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)
|
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
|
// String is already in the list, do not allocate it again
|
||||||
return MAKE_STRING((*iter)->c_str());
|
return MAKE_STRING((*iter)->c_str());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user