fixed a silly bug in translation
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40480
This commit is contained in:
parent
7b8eaf4f75
commit
afd3d3dc88
@ -94,8 +94,6 @@ try_serverlang:
|
|||||||
goto error_out;
|
goto error_out;
|
||||||
}
|
}
|
||||||
|
|
||||||
max_params = pTrans.fmt_count;
|
|
||||||
|
|
||||||
if (!TryTranslation(pl, key, langid, langcount, &pTrans))
|
if (!TryTranslation(pl, key, langid, langcount, &pTrans))
|
||||||
{
|
{
|
||||||
if (target != LANG_SERVER)
|
if (target != LANG_SERVER)
|
||||||
@ -112,6 +110,8 @@ try_serverlang:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
max_params = pTrans.fmt_count;
|
||||||
|
|
||||||
for (size_t i=0; i<max_params; i++)
|
for (size_t i=0; i<max_params; i++)
|
||||||
{
|
{
|
||||||
pCtx->LocalToPhysAddr(params[*arg], reinterpret_cast<cell_t **>(&new_params[i]));
|
pCtx->LocalToPhysAddr(params[*arg], reinterpret_cast<cell_t **>(&new_params[i]));
|
||||||
|
Loading…
Reference in New Issue
Block a user