(svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too
This commit is contained in:
@@ -327,9 +327,7 @@ static bool MakePNGImage(const char *name, ScreenshotCallback *callb, void *user
|
||||
if (c->ai_info == NULL) {
|
||||
p += seprintf(p, lastof(buf), "%2i: Human\n", (int)c->index);
|
||||
} else {
|
||||
#ifdef ENABLE_AI
|
||||
p += seprintf(p, lastof(buf), "%2i: %s (v%d)\n", (int)c->index, c->ai_info->GetName(), c->ai_info->GetVersion());
|
||||
#endif /* ENABLE_AI */
|
||||
}
|
||||
}
|
||||
text[1].key = const_cast<char *>("Description");
|
||||
|
Reference in New Issue
Block a user