wrefresh(curwnd);
} else {
if (replayfp && !feof(replayfp))
- fgets(line, max, replayfp);
+ (void)fgets(line, max, replayfp);
else
- fgets(line, max, stdin);
+ (void)fgets(line, max, stdin);
}
if (logfp)
- fputs(line, logfp);
+ (void)fputs(line, logfp);
line[strlen(line)-1] = '\0';
}
void tracktorpedo(coord w, int l, int i, int n, int iquad)
/* torpedo-track animation */
{
- if (!game.options & OPTION_CURSES) {
+ if (!(game.options & OPTION_CURSES)) {
if (l == 1) {
if (n != 1) {
skip(1);
int iscore, iskill; // Common PLAQ
double aaitem;
double perdate;
-char citem[10];
+char citem[12];
int seed; // the random-number seed
bool idebug; // debug mode
FILE *logfp, *replayfp;
extern int iscore, iskill; // Common PLAQ
extern double perdate;
extern double aaitem;
-extern char citem[10];
+extern char citem[12];
extern int seed;
extern bool idebug;
extern FILE *logfp, *replayfp;