Commit 0ceb3df9 authored by argon.sun's avatar argon.sun

fix

parent a1621ee4
......@@ -13,7 +13,7 @@
#include <dirent.h>
#endif
const unsigned short PRO_VERSION = 0x1271;
const unsigned short PRO_VERSION = 0x1272;
namespace ygo {
......
......@@ -326,7 +326,6 @@ bool ReplayMode::ReplayAnalyze(char* msg, unsigned int len) {
}
case MSG_NEW_TURN: {
pbuf++;
ReplayRefresh();
DuelClient::ClientAnalyze(offset, pbuf - offset);
break;
}
......
......@@ -153,12 +153,14 @@ extern "C" DECL_DLLEXPORT void new_tag_card(ptr pduel, uint32 code, uint8 owner,
switch(location) {
case LOCATION_DECK:
ptduel->game_field->player[owner].tag_list_main.push_back(pcard);
pcard->owner = owner;
pcard->current.controler = owner;
pcard->current.location = LOCATION_DECK;
pcard->current.sequence = ptduel->game_field->player[owner].tag_list_main.size() - 1;
break;
case LOCATION_EXTRA:
ptduel->game_field->player[owner].tag_list_extra.push_back(pcard);
pcard->owner = owner;
pcard->current.controler = owner;
pcard->current.location = LOCATION_EXTRA;
pcard->current.sequence = ptduel->game_field->player[owner].tag_list_extra.size() - 1;
......
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