projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
% has to be mapped to %% when producing sst.doc
[super-star-trek.git]
/
src
/
ai.c
diff --git
a/src/ai.c
b/src/ai.c
index 25d58274624efd7f151058321cb3135f8e692c32..4b1aa23b274ef783850492f21d3c50ea78b1ee2d 100644
(file)
--- a/
src/ai.c
+++ b/
src/ai.c
@@
-351,7
+351,7
@@
static int movescom(int iqx, int iqy, int flag, int *ipage)
game.state.plnets[i].crystals == 1) {
/* destroy the planet */
DESTROY(&game.state.plnets[i]);
game.state.plnets[i].crystals == 1) {
/* destroy the planet */
DESTROY(&game.state.plnets[i]);
- game.state.galaxy[game.state.isx][game.state.isy].planet
s -= 1
;
+ game.state.galaxy[game.state.isx][game.state.isy].planet
= NULL
;
if (game.damage[DRADIO] == 0.0 || game.condit == IHDOCKED) {
if (*ipage==0) pause_game(1);
*ipage = 1;
if (game.damage[DRADIO] == 0.0 || game.condit == IHDOCKED) {
if (*ipage==0) pause_game(1);
*ipage = 1;