Commit d9fd2c06 authored by sidschingis's avatar sidschingis

Update playerop.cpp

parent dd8eea2b
......@@ -645,7 +645,7 @@ int32 field::sort_card(int16 step, uint8 playerid, uint8 is_chain) {
int32 field::announce_race(int16 step, uint8 playerid, int32 count, int32 available) {
if(step == 0) {
int32 scount = 0;
for(int32 ft = 0x1; ft != 0x800000; ft <<= 1) {
for(int32 ft = 0x1; ft != 0x1000000; ft <<= 1) {
if(ft & available)
scount++;
}
......@@ -661,7 +661,7 @@ int32 field::announce_race(int16 step, uint8 playerid, int32 count, int32 availa
} else {
int32 rc = returns.ivalue[0];
int32 sel = 0;
for(int32 ft = 0x1; ft != 0x800000; ft <<= 1) {
for(int32 ft = 0x1; ft != 0x1000000; ft <<= 1) {
if(!(ft & rc)) continue;
if(!(ft & available)) {
pduel->write_buffer8(MSG_RETRY);
......
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