fixed a bug where the "keyOnly" parameter to KvGotoNextKey was read backwards
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401008
This commit is contained in:
parent
aef5ba1d09
commit
97c5ff6b65
@ -442,9 +442,9 @@ static cell_t smn_KvGotoNextKey(IPluginContext *pCtx, const cell_t *params)
|
||||
KeyValues *pSubKey = pStk->pCurRoot.front();
|
||||
if (params[2])
|
||||
{
|
||||
pSubKey = pSubKey->GetNextKey();
|
||||
} else {
|
||||
pSubKey = pSubKey->GetNextTrueSubKey();
|
||||
} else {
|
||||
pSubKey = pSubKey->GetNextKey();
|
||||
}
|
||||
if (!pSubKey)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user