Commit 29ce959f authored by edo9300's avatar edo9300

Added ignore cache support in the field card queries

parent 4508cc1d
...@@ -1821,7 +1821,7 @@ void RelayDuel::PseudoRefreshDeck(int player, int flag) { ...@@ -1821,7 +1821,7 @@ void RelayDuel::PseudoRefreshDeck(int player, int flag) {
BufferIO::WriteInt8(qbuf, MSG_UPDATE_DATA); BufferIO::WriteInt8(qbuf, MSG_UPDATE_DATA);
BufferIO::WriteInt8(qbuf, player); BufferIO::WriteInt8(qbuf, player);
BufferIO::WriteInt8(qbuf, LOCATION_DECK); BufferIO::WriteInt8(qbuf, LOCATION_DECK);
int len = query_field_card(pduel, player, LOCATION_DECK, flag, (unsigned char*)qbuf, 0); int len = query_field_card(pduel, player, LOCATION_DECK, flag, (unsigned char*)qbuf, 0, 1);
ReplayPacket p((char*)query_buffer, len + 2); ReplayPacket p((char*)query_buffer, len + 2);
replay_stream.push_back(p); replay_stream.push_back(p);
} }
......
...@@ -1648,7 +1648,7 @@ void SingleDuel::PseudoRefreshDeck(int player, int flag) { ...@@ -1648,7 +1648,7 @@ void SingleDuel::PseudoRefreshDeck(int player, int flag) {
BufferIO::WriteInt8(qbuf, MSG_UPDATE_DATA); BufferIO::WriteInt8(qbuf, MSG_UPDATE_DATA);
BufferIO::WriteInt8(qbuf, player); BufferIO::WriteInt8(qbuf, player);
BufferIO::WriteInt8(qbuf, LOCATION_DECK); BufferIO::WriteInt8(qbuf, LOCATION_DECK);
int len = query_field_card(pduel, player, LOCATION_DECK, flag, (unsigned char*)qbuf, 0); int len = query_field_card(pduel, player, LOCATION_DECK, flag, (unsigned char*)qbuf, 0, 1);
ReplayPacket p((char*)query_buffer, len + 2); ReplayPacket p((char*)query_buffer, len + 2);
replay_stream.push_back(p); replay_stream.push_back(p);
} }
......
...@@ -1765,7 +1765,7 @@ void TagDuel::PseudoRefreshDeck(int player, int flag) { ...@@ -1765,7 +1765,7 @@ void TagDuel::PseudoRefreshDeck(int player, int flag) {
BufferIO::WriteInt8(qbuf, MSG_UPDATE_DATA); BufferIO::WriteInt8(qbuf, MSG_UPDATE_DATA);
BufferIO::WriteInt8(qbuf, player); BufferIO::WriteInt8(qbuf, player);
BufferIO::WriteInt8(qbuf, LOCATION_DECK); BufferIO::WriteInt8(qbuf, LOCATION_DECK);
int len = query_field_card(pduel, player, LOCATION_DECK, flag, (unsigned char*)qbuf, 0); int len = query_field_card(pduel, player, LOCATION_DECK, flag, (unsigned char*)qbuf, 0, 1);
ReplayPacket p((char*)query_buffer, len + 2); ReplayPacket p((char*)query_buffer, len + 2);
replay_stream.push_back(p); replay_stream.push_back(p);
} }
......
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