chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do not attempt to parse the shoppe tab
[ypp-sc-tools.db-test.git]
/
pctb
/
structure.c
diff --git
a/pctb/structure.c
b/pctb/structure.c
index 200b86ea43c28b5e3a0bd58a5f299be8ed2be941..8887c8ad624dde26d7704cca2384b0167933acc3 100644
(file)
--- a/
pctb/structure.c
+++ b/
pctb/structure.c
@@
-671,7
+671,7
@@
void find_islandname(RgbImage *ri) {
}
identify_rgbimage(ri, islandnamer, archisland, "island");
}
identify_rgbimage(ri, islandnamer, archisland, "island");
- } else {
+ } else
if (!strcmp(sunshine,"Land - Ahoy"))
{
Rect islandnamer;
islandnamer.tl.x= (sunshiner.tl.x + sunshiner.br.x) / 2;
Rect islandnamer;
islandnamer.tl.x= (sunshiner.tl.x + sunshiner.br.x) / 2;
@@
-757,6
+757,10
@@
void find_islandname(RgbImage *ri) {
islandnamer.br.x= p.x;
identify_rgbimage(ri, islandnamer, archisland, "island");
islandnamer.br.x= p.x;
identify_rgbimage(ri, islandnamer, archisland, "island");
+ } else {
+
+ MUST(!"sunshine shows ship or ahoy", MS(sunshine) );
+
}
char *delim= strstr(archisland," - ");
}
char *delim= strstr(archisland," - ");