Index: apps/plugins/superdom.c =================================================================== --- apps/plugins/superdom.c (revision 14325) +++ apps/plugins/superdom.c (working copy) @@ -1729,6 +1729,7 @@ } } } + rb->yield(); } } if(offensive) { @@ -1758,6 +1759,7 @@ i, j)); k++; } + rb->yield(); } } } @@ -1824,6 +1826,7 @@ } compres.bank += compres.cash; compres.cash = 0; + rb->yield(); } } else { /* Work out what to place on each square to defend it. @@ -1854,6 +1857,7 @@ draw_board(); rb->sleep(HZ); } + rb->yield(); } } else if((total_str_diff+20)*15 < compres.cash) { /* Enough money to pay their way by planes */ @@ -1887,6 +1891,7 @@ } } } + rb->yield(); } } else { /* Tanks it is */ @@ -1920,6 +1925,7 @@ } } } + rb->yield(); } } compres.bank += compres.cash; @@ -2003,6 +2009,7 @@ } } } + rb->yield(); } } if(compres.moves) { @@ -2041,6 +2048,7 @@ compres.moves--; } } + rb->yield(); } } while(compres.moves > 0) {