Fixing non-compilable state of the game

This commit is contained in:
Enno Rehling 2003-10-05 07:29:31 +00:00
parent 29f5839ab5
commit 52bab772ec
2 changed files with 6 additions and 6 deletions

View File

@ -1321,9 +1321,9 @@ stats(void)
for (itype=itemtypes;itype;itype=itype->next) {
stats_t * itm = s_find(items, itype);
if (itm && itm->number>0.0)
fprintf(F, "%4.0lf %s\n", itm->number, locale_string(NULL, resourcename(itype->rtype, 0)));
fprintf(F, "%4.0f %s\n", itm->number, locale_string(NULL, resourcename(itype->rtype, 0)));
else
fprintf(F, "%4.0lf %s\n", 0.0, locale_string(NULL, resourcename(itype->rtype, 0)));
fprintf(F, "%4.0f %s\n", 0.0, locale_string(NULL, resourcename(itype->rtype, 0)));
}
fclose(F);
} else {
@ -2835,7 +2835,7 @@ korrektur(void)
#ifdef ENHANCED_QUIT
no_teurefremde(0);
#else
no_teurefremde(1)
no_teurefremde(1);
#endif
update_igjarjuk_quest();
fix_allies();

View File

@ -147,7 +147,7 @@ crwritemap(void)
}
static void
game_init(const char *executable_name)
game_init(void)
{
init_triggers();
init_xmas();
@ -163,7 +163,7 @@ game_init(const char *executable_name)
register_spells();
register_dungeon();
init_data(xmlfile?xmlfile:executable_name);
init_data(xmlfile?xmlfile:"eressea.xml");
init_locales();
init_attributes();
@ -690,7 +690,7 @@ main(int argc, char *argv[])
if ((i=read_datenames(zText))!=0) return i;
kernel_init();
game_init(basename(argv[0]));
game_init();
#if defined(BETA_CODE)
/* xml_writeships(); */
/* xml_writebuildings(); */