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:
David Anderson 2007-06-22 17:24:48 +00:00
parent aef5ba1d09
commit 97c5ff6b65

View File

@ -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)
{