projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbf027c
)
Cleanup leftover comments
69/head
author
Peje Nilsson
<peje66@gmail.com>
Tue, 13 Jun 2017 13:27:44 +0000
(13:27 +0000)
committer
Peje Nilsson
<peje66@gmail.com>
Tue, 13 Jun 2017 13:27:44 +0000
(13:27 +0000)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 6ac17ce76b313889a1034a492b57b405f41e5034..374df37c49c38d57dd8e9a7e4a61ce0e6f51cdba 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-308,11
+308,8
@@
bool spotted_by_pirate(int i)
game.dloc[PIRATE]=game.chloc;
game.odloc[PIRATE]=game.chloc;
game.dseen[PIRATE]=false;
- /* C doesn't have what the Structured rogramming
- * Theorem says we need here - multi-level loop
- * breakout. We simulate with a goto. Irreducible, alas.
- */
- return true; //goto jumpout;
+
+ return true;
}
if (HERE(j))
k=1;