X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=moving.c;h=a5d11b3e25b7fba12bacd3d2726b8456365a220c;hp=7d3f6dfcbbb52eaca28e37ba13a596cc1fcdb447;hb=6faaa79dff2fa3ceec44ef46b79e651f1bd9e0aa;hpb=2a83be50e15e057ac9237e5c9bf97bd6d395db39 diff --git a/moving.c b/moving.c index 7d3f6df..a5d11b3 100644 --- a/moving.c +++ b/moving.c @@ -153,7 +153,7 @@ void imove(void) if (game.damage[l]>0) n++; probf=pow(1.4,(energy+shield)/5000.0-1.0)*pow(1.3,1.0/(n+1)-1.0); - if (Rand()>probf) + if ((game.options & OPTION_BLKHOLE) && Rand()>probf) timwrp(); else finish(FHOLE);