local linux fixes

This commit is contained in:
Enno Rehling 2005-07-26 21:03:08 +00:00
parent c088273a9d
commit b1703d27d4
4 changed files with 3 additions and 15 deletions

View File

@ -158,19 +158,6 @@ reset_translations(void)
}
}
/* implementation */
static void
cr_output_str_list(FILE * F, const char *title, const strlist * S, const faction * f)
{
if (!S) return;
fprintf(F, "%s\n", title);
while (S) {
fprintf(F, "\"%s\"\n", S->s);
S = S->next;
}
}
#include "objtypes.h"
static void

View File

@ -26,6 +26,7 @@
/* kernel includes */
#include <kernel/building.h>
#include <kernel/faction.h>
#include <kernel/item.h>
#include <kernel/movement.h>
#include <kernel/message.h>

View File

@ -173,7 +173,7 @@ read_dropouts(const char * filename)
char email[64], race[20];
int age;
short x, y;
if (fscanf(F, "%s %s %d %d %d", email, race, &age, &x, &y)<=0) break;
if (fscanf(F, "%s %s %d %hd %hd", email, race, &age, &x, &y)<=0) break;
if (age<=2) {
region * r = findregion(x, y);
if (r) {

View File

@ -812,7 +812,7 @@ SetHighlight(void)
}
void
recalc_everything(int *x, int *y, int *rx, int *ry)
recalc_everything(short *x, short *y, short *rx, short *ry)
{
int eingerueckt;