projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More boolean cleanups and explanator comments.
[super-star-trek.git]
/
src
/
moving.c
diff --git
a/src/moving.c
b/src/moving.c
index 91c74c4a69eabf7f1d7181caa0658bd2c3a246a7..52c6b504664450bc6a7a14c8d2c501bffe2365be 100644
(file)
--- a/
src/moving.c
+++ b/
src/moving.c
@@
-235,7
+235,7
@@
void dock(bool verbose)
}
game.condit = IHDOCKED;
if (verbose) prout(_("Docked."));
}
game.condit = IHDOCKED;
if (verbose) prout(_("Docked."));
- game.ididit
=
true;
+ game.ididit
=
true;
if (game.energy < game.inenrg) game.energy = game.inenrg;
game.shield = game.inshld;
game.torps = game.intorps;
if (game.energy < game.inenrg) game.energy = game.inenrg;
game.shield = game.inshld;
game.torps = game.intorps;
@@
-711,7
+711,7
@@
void atover(bool igrab)
}
prout(_("SUCCEEDS!"));
if (game.imine) {
}
prout(_("SUCCEEDS!"));
if (game.imine) {
- game.imine =
0
;
+ game.imine =
false
;
proutn(_("The crystals mined were "));
if (Rand() <= 0.25) {
prout(_("lost."));
proutn(_("The crystals mined were "));
if (Rand() <= 0.25) {
prout(_("lost."));