Commit 889cfd32 authored by VanillaSalt's avatar VanillaSalt

clean

parent c4e0a851
...@@ -1802,7 +1802,6 @@ int32 scriptlib::card_is_can_be_special_summoned(lua_State *L) { ...@@ -1802,7 +1802,6 @@ int32 scriptlib::card_is_can_be_special_summoned(lua_State *L) {
uint32 sumpos = POS_FACEUP; uint32 sumpos = POS_FACEUP;
uint32 toplayer = sumplayer; uint32 toplayer = sumplayer;
uint32 zone = 0xff; uint32 zone = 0xff;
uint32 nozoneusedcheck = 0;
if(lua_gettop(L) >= 7) if(lua_gettop(L) >= 7)
sumpos = lua_tointeger(L, 7); sumpos = lua_tointeger(L, 7);
if(lua_gettop(L) >= 8) if(lua_gettop(L) >= 8)
......
...@@ -3808,7 +3808,6 @@ int32 scriptlib::duel_majestic_copy(lua_State *L) { ...@@ -3808,7 +3808,6 @@ int32 scriptlib::duel_majestic_copy(lua_State *L) {
check_param(L, PARAM_TYPE_CARD, 2); check_param(L, PARAM_TYPE_CARD, 2);
card* pcard = *(card**) lua_touserdata(L, 1); card* pcard = *(card**) lua_touserdata(L, 1);
card* ccard = *(card**) lua_touserdata(L, 2); card* ccard = *(card**) lua_touserdata(L, 2);
duel* pduel = pcard->pduel;
for(auto eit = ccard->single_effect.begin(); eit != ccard->field_effect.end(); ++eit) { for(auto eit = ccard->single_effect.begin(); eit != ccard->field_effect.end(); ++eit) {
if(eit == ccard->single_effect.end()) { if(eit == ccard->single_effect.end()) {
eit = ccard->field_effect.begin(); eit = ccard->field_effect.begin();
......
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