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-chasing and coord applications.
[super-star-trek.git]
/
src
/
finish.c
diff --git
a/src/finish.c
b/src/finish.c
index 570be4e9a94b2023f2e41881b651e170f4e65a29..95c7d974a22a52a6f2ab538e108ed3b4c926c6b4 100644
(file)
--- a/
src/finish.c
+++ b/
src/finish.c
@@
-62,7
+62,7
@@
void kaboom(void)
int l=1;
while (l <= game.nenhere) {
if (game.kpower[l]*game.kdist[l] <= whammo)
int l=1;
while (l <= game.nenhere) {
if (game.kpower[l]*game.kdist[l] <= whammo)
- deadkl(game.ks[l], game.quad[game.ks[l].x][game.ks[l].y], game.ks[l]
.x, game.ks[l].y
);
+ deadkl(game.ks[l], game.quad[game.ks[l].x][game.ks[l].y], game.ks[l]);
l++;
}
}
l++;
}
}
@@
-142,7
+142,7
@@
void finish(FINTYPE ifin)
proutn(_("Do you want your Commodore Emeritus Citation printed? "));
chew();
if (ja() == true) {
proutn(_("Do you want your Commodore Emeritus Citation printed? "));
chew();
if (ja() == true) {
- igotit =
1
;
+ igotit =
true
;
}
}
}
}
}
}
@@
-152,7
+152,7
@@
void finish(FINTYPE ifin)
prout(_("LIVE LONG AND PROSPER."));
}
score();
prout(_("LIVE LONG AND PROSPER."));
}
score();
- if (igotit
!= 0
) plaque();
+ if (igotit) plaque();
return;
case FDEPLETE: // Federation Resources Depleted
prout(_("Your time has run out and the Federation has been"));
return;
case FDEPLETE: // Federation Resources Depleted
prout(_("Your time has run out and the Federation has been"));