Commit eb3dd66e authored by nanahira's avatar nanahira

no more ignore sel

parent 33113981
...@@ -1508,15 +1508,8 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) { ...@@ -1508,15 +1508,8 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
} }
case MSG_SELECT_UNSELECT_CARD: { case MSG_SELECT_UNSELECT_CARD: {
/*int selecting_player = */BufferIO::ReadInt8(pbuf); /*int selecting_player = */BufferIO::ReadInt8(pbuf);
#ifdef YGOPRO_IGNORE_SELECT_UNSELECT
BufferIO::ReadInt8(pbuf);
BufferIO::ReadInt8(pbuf);
bool buttonok = true;
mainGame->dField.select_cancelable = TRUE;
#else
bool buttonok = !!BufferIO::ReadInt8(pbuf); bool buttonok = !!BufferIO::ReadInt8(pbuf);
mainGame->dField.select_cancelable = BufferIO::ReadInt8(pbuf); mainGame->dField.select_cancelable = BufferIO::ReadInt8(pbuf);
#endif
mainGame->dField.select_min = BufferIO::ReadInt8(pbuf); mainGame->dField.select_min = BufferIO::ReadInt8(pbuf);
mainGame->dField.select_max = BufferIO::ReadInt8(pbuf); mainGame->dField.select_max = BufferIO::ReadInt8(pbuf);
int count1 = BufferIO::ReadInt8(pbuf); int count1 = BufferIO::ReadInt8(pbuf);
......
...@@ -18,9 +18,6 @@ project "ygopro" ...@@ -18,9 +18,6 @@ project "ygopro"
if os.getenv("YGOPRO_COMPAT_MYCARD") then if os.getenv("YGOPRO_COMPAT_MYCARD") then
defines { "YGOPRO_COMPAT_MYCARD" } defines { "YGOPRO_COMPAT_MYCARD" }
end end
if os.getenv("YGOPRO_IGNORE_SELECT_UNSELECT") then
defines { "YGOPRO_IGNORE_SELECT_UNSELECT" }
end
configuration "windows" configuration "windows"
files "ygopro.rc" files "ygopro.rc"
......
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