Commit f33920c0 authored by wind2009's avatar wind2009

Fix read uint32t

parent 1579ee65
Pipeline #40840 canceled with stages
in 9 seconds
...@@ -882,7 +882,7 @@ int SingleDuel::Analyze(unsigned char* msgbuffer, unsigned int len) { ...@@ -882,7 +882,7 @@ int SingleDuel::Analyze(unsigned char* msgbuffer, unsigned int len) {
int counter = 0; int counter = 0;
Deck tdeck; Deck tdeck;
for(int i = 0; i < count; i++) { for(int i = 0; i < count; i++) {
uint32_t code = BufferIO::ReadUInt32(pbuf); uint32_t code = BufferIO::Read<uint32_t>(pbuf);
cardlist[counter++] = code; cardlist[counter++] = code;
} }
deckManager.LoadDeck(tdeck, cardlist, count, 0); deckManager.LoadDeck(tdeck, cardlist, count, 0);
......
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