projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improvements to the testing machinery, including the replay option.
[super-star-trek.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index 7d4392109697e2fdcf6ab88b1b1ecf3be2d601ca..b6a168796e2c8e6e3fec74801943e1ebb99bc41e 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-410,7
+410,7
@@
void events(void)
}
break;
case FDISTR: /* inhabited system issues distress call */
}
break;
case FDISTR: /* inhabited system issues distress call */
-
schedule(FDISTR, expran(0.5*game.intime)
);
+
unschedule(FDISTR
);
/* try a whole bunch of times to find something suitable */
i = 100;
do {
/* try a whole bunch of times to find something suitable */
i = 100;
do {
@@
-434,8
+434,6
@@
void events(void)
ev = schedule(FENSLV, expran(game.intime));
ev->quadrant = w;
q->status = distressed;
ev = schedule(FENSLV, expran(game.intime));
ev->quadrant = w;
q->status = distressed;
- if (idebug)
- prout("=== Distress call set at %d, %d.", w.x, w.y);
/* tell the captain about it if we can */
if (game.damage[DRADIO] == 0.0 || game.condit == IHDOCKED)
/* tell the captain about it if we can */
if (game.damage[DRADIO] == 0.0 || game.condit == IHDOCKED)