Merge pull request #364 from alliedmodders/bug-6391
Fix maxlen in SetEntPropString not being initialized (bug 6391).
This commit is contained in:
commit
45f5ac64e1
@ -2109,10 +2109,10 @@ static cell_t SetEntPropString(IPluginContext *pContext, const cell_t *params)
|
||||
bIsStringIndex = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
maxlen = DT_MAX_STRING_BUFFERSIZE;
|
||||
}
|
||||
|
||||
// Only used if not string index.
|
||||
maxlen = DT_MAX_STRING_BUFFERSIZE;
|
||||
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user