projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid a nasty bug in planet-name display, and fix another boolean.
[super-star-trek.git]
/
src
/
moving.c
diff --git
a/src/moving.c
b/src/moving.c
index 126d3baa13ecd63c12158781a8ddfeefdf7c3a97..4908236004714ff29d1b7bd1e126859eea5d6d74 100644
(file)
--- a/
src/moving.c
+++ b/
src/moving.c
@@
-113,7
+113,7
@@
void imove(void)
skip(1);
prout(_("Entering %s."), cramlc(quadrant, game.quadrant));
game.quad[game.sector.x][game.sector.y] = game.ship;
skip(1);
prout(_("Entering %s."), cramlc(quadrant, game.quadrant));
game.quad[game.sector.x][game.sector.y] = game.ship;
- newqad(
0
);
+ newqad(
false
);
if (game.skill>SKILL_NOVICE) attack(0);
return;
}
if (game.skill>SKILL_NOVICE) attack(0);
return;
}
@@
-824,7
+824,7
@@
void timwrp()
postpone(FTBEAM, game.optime);
game.damage[DRADIO] += game.optime;
}
postpone(FTBEAM, game.optime);
game.damage[DRADIO] += game.optime;
}
- newqad(
0
);
+ newqad(
false
);
events(); /* Stas Sergeev added this -- do pending events */
}
events(); /* Stas Sergeev added this -- do pending events */
}
@@
-943,7
+943,7
@@
void mayday(void)
}
/* Since starbase not in quadrant, set up new quadrant */
game.quadrant = game.state.baseq[line];
}
/* Since starbase not in quadrant, set up new quadrant */
game.quadrant = game.state.baseq[line];
- newqad(
1
);
+ newqad(
true
);
}
/* dematerialize starship */
game.quad[game.sector.x][game.sector.y]=IHDOT;
}
/* dematerialize starship */
game.quad[game.sector.x][game.sector.y]=IHDOT;