Commit 9aea5189 authored by DailyShana's avatar DailyShana

fix MSG_FIELD_DISABLED

parent d904a99a
...@@ -2220,7 +2220,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) { ...@@ -2220,7 +2220,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
return true; return true;
} }
case MSG_FIELD_DISABLED: { case MSG_FIELD_DISABLED: {
int disabled = BufferIO::ReadInt32(pbuf); unsigned int disabled = BufferIO::ReadInt32(pbuf);
if (!mainGame->dInfo.isFirst) if (!mainGame->dInfo.isFirst)
disabled = (disabled >> 16) | (disabled << 16); disabled = (disabled >> 16) | (disabled << 16);
mainGame->dField.disabled_field = disabled; mainGame->dField.disabled_field = disabled;
......
Subproject commit 0f903247f51851bbef5ca0eda1fe22cd98607317 Subproject commit 91dc62a6867dbd54aa5da7b22f5b3e67b1ff0acf
Subproject commit 3e54309aff9f9ab32a52e72e76427d19aa5b84c7 Subproject commit 722c213be5e5bbbbd4f61c4652a5a64a0c63ac64
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