projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New debug-mode support.
[super-star-trek.git]
/
src
/
moving.c
diff --git
a/src/moving.c
b/src/moving.c
index 42df8c1ea6e45002da883757e72adaaf6b7f1475..5c9f67dde508bc02a1ff01b1f9d82ee9851378c0 100644
(file)
--- a/
src/moving.c
+++ b/
src/moving.c
@@
-565,13
+565,11
@@
void warp(int i)
}
/* Decide if time warp will occur */
if (0.5*game.dist*pow(7.0,game.warpfac-10.0) > Rand()) twarp=1;
}
/* Decide if time warp will occur */
if (0.5*game.dist*pow(7.0,game.warpfac-10.0) > Rand()) twarp=1;
-#ifdef DEBUG
- if (game.idebug &&game.warpfac==10 && twarp==0) {
+ if (idebug && game.warpfac==10 && twarp==0) {
blooey=0;
blooey=0;
- proutn("Force time warp? ");
+ proutn("
===
Force time warp? ");
if (ja()==1) twarp=1;
}
if (ja()==1) twarp=1;
}
-#endif
if (blooey || twarp) {
/* If time warp or engine damage, check path */
/* If it is obstructed, don't do warp or damage */
if (blooey || twarp) {
/* If time warp or engine damage, check path */
/* If it is obstructed, don't do warp or damage */