diff options
author | rodri <rgl@antares-labs.eu> | 2023-10-07 17:17:30 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2023-10-07 17:17:30 +0000 |
commit | 353cbde75a19b004ab0c5339684f33ea47ef1244 (patch) | |
tree | 0739eb09e33959e144eba0c160ad6d35e4b6300a /btsd.c | |
parent | f0c1d251cbf8bc1213c192fc3afcc0fe566bafb5 (diff) | |
download | battleship-353cbde75a19b004ab0c5339684f33ea47ef1244.tar.gz battleship-353cbde75a19b004ab0c5339684f33ea47ef1244.tar.bz2 battleship-353cbde75a19b004ab0c5339684f33ea47ef1244.zip |
use a better random source. fix a bug with andys generating oob cell coordinates.
Diffstat (limited to 'btsd.c')
-rw-r--r-- | btsd.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -388,7 +388,6 @@ aiproc(void *arg) if(ct == nil) goto Nocmd; -// sleep(ntruerand(5000)); switch(ct->index){ case ACMlayout: ai->layout(ai, newmsg(ai->ego, nil)); break; case ACMplay: ai->shoot(ai, newmsg(ai->ego, nil)); break; |