Commit 7f76d5a9 authored by argon.sun's avatar argon.sun

update

parent bde95ef4
......@@ -738,7 +738,7 @@ int32 interpreter::call_function(int32 f, uint32 param_count, uint32 ret_count)
return OPERATION_FAIL;
}
if (param_count != params.size()) {
sprintf(pduel->strbuffer, "\"CallFunction\": incorrect parameter count (%d expected, %ld pushed)", param_count, params.size());
sprintf(pduel->strbuffer, "\"CallFunction\": incorrect parameter count (%d expected, %ud pushed)", param_count, params.size());
handle_message(pduel, 1);
params.clear();
return OPERATION_FAIL;
......
......@@ -1780,7 +1780,6 @@ int32 scriptlib::card_add_trap_monster_attribute(lua_State *L) {
int32 level = lua_tointeger(L, 5);
int32 atk = lua_tointeger(L, 6);
int32 def = lua_tointeger(L, 7);
int32 is_tuner = FALSE;
card* pcard = *(card**) lua_touserdata(L, 1);
duel* pduel = pcard->pduel;
//type
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment