[script] Use a pre computed value rather than accessing directly

The name_exp was already set to the thing we wanted, so use that. Less
confusing since other sections use it.
This commit is contained in:
Charlie Brej 2010-03-24 13:35:13 +00:00
parent 344afa14f5
commit 669c2dcc0a

View file

@ -323,7 +323,7 @@ static script_obj_t *script_evaluate_func (script_state_t *state,
}
else
{
func_obj = script_evaluate (state, exp->data.function_exe.name);
func_obj = script_evaluate (state, name_exp);
}
ply_list_t *parameter_expressions = exp->data.function_exe.parameters;