forked from github/server
- Diverser Kleinkram
This commit is contained in:
parent
abbb7647bc
commit
29f5839ab5
|
@ -3850,7 +3850,7 @@ damage_unit(unit *u, const char *dam, boolean armor, boolean magic)
|
||||||
|
|
||||||
/* Auswirkungen */
|
/* Auswirkungen */
|
||||||
for (i=0; i<u->number; i++) {
|
for (i=0; i<u->number; i++) {
|
||||||
if (hp[i] < 0){
|
if (hp[i] <= 0){
|
||||||
heiltrank = 0;
|
heiltrank = 0;
|
||||||
|
|
||||||
/* Sieben Leben */
|
/* Sieben Leben */
|
||||||
|
|
|
@ -19,7 +19,7 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MUSEUM_MODULE
|
#ifndef MUSEUM_MODULE
|
||||||
#error "must define MUSEUM_MODULE to use this module"
|
#warning "must define MUSEUM_MODULE to use this module"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern attrib_type at_warden;
|
extern attrib_type at_warden;
|
||||||
|
|
|
@ -1312,7 +1312,7 @@ stats(void)
|
||||||
for (itm=u->items;itm;itm=itm->next) {
|
for (itm=u->items;itm;itm=itm->next) {
|
||||||
if (itm->number>10000000) {
|
if (itm->number>10000000) {
|
||||||
log_error(("unit %s has %d %s\n", unitname(u), itm->number, resourcename(itm->type->rtype, 0)));
|
log_error(("unit %s has %d %s\n", unitname(u), itm->number, resourcename(itm->type->rtype, 0)));
|
||||||
// itm->number=1;
|
/* itm->number=1; */
|
||||||
}
|
}
|
||||||
s_change(&items, itm->type, itm->number);
|
s_change(&items, itm->type, itm->number);
|
||||||
}
|
}
|
||||||
|
@ -2831,7 +2831,12 @@ korrektur(void)
|
||||||
convert_triggers();
|
convert_triggers();
|
||||||
#endif
|
#endif
|
||||||
fix_migrants();
|
fix_migrants();
|
||||||
no_teurefremde(1);
|
/* In Vin3 können Parteien komplett übergeben werden. */
|
||||||
|
#ifdef ENHANCED_QUIT
|
||||||
|
no_teurefremde(0);
|
||||||
|
#else
|
||||||
|
no_teurefremde(1)
|
||||||
|
#endif
|
||||||
update_igjarjuk_quest();
|
update_igjarjuk_quest();
|
||||||
fix_allies();
|
fix_allies();
|
||||||
update_gmquests(); /* test gm quests */
|
update_gmquests(); /* test gm quests */
|
||||||
|
|
|
@ -147,7 +147,7 @@ crwritemap(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
game_init(void)
|
game_init(const char *executable_name)
|
||||||
{
|
{
|
||||||
init_triggers();
|
init_triggers();
|
||||||
init_xmas();
|
init_xmas();
|
||||||
|
@ -163,7 +163,7 @@ game_init(void)
|
||||||
register_spells();
|
register_spells();
|
||||||
register_dungeon();
|
register_dungeon();
|
||||||
|
|
||||||
init_data(xmlfile?xmlfile:"eressea.xml");
|
init_data(xmlfile?xmlfile:executable_name);
|
||||||
init_locales();
|
init_locales();
|
||||||
|
|
||||||
init_attributes();
|
init_attributes();
|
||||||
|
@ -690,7 +690,7 @@ main(int argc, char *argv[])
|
||||||
if ((i=read_datenames(zText))!=0) return i;
|
if ((i=read_datenames(zText))!=0) return i;
|
||||||
|
|
||||||
kernel_init();
|
kernel_init();
|
||||||
game_init();
|
game_init(basename(argv[0]));
|
||||||
#if defined(BETA_CODE)
|
#if defined(BETA_CODE)
|
||||||
/* xml_writeships(); */
|
/* xml_writeships(); */
|
||||||
/* xml_writebuildings(); */
|
/* xml_writebuildings(); */
|
||||||
|
|
|
@ -4,12 +4,12 @@ ifndef ERESSEA
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Hier definieren, damit nicht '@gcc'
|
# Hier definieren, damit nicht '@gcc'
|
||||||
CC = gcc-3.2 -D_GNU_SOURCE -ansi -pedantic
|
CC = gcc-3.3 -D_GNU_SOURCE -ansi -pedantic
|
||||||
DEPEND = @gcc-3.2 -MM -MG -r
|
DEPEND = @gcc-3.3 -MM -MG -r
|
||||||
# CC = gcc -D_GNU_SOURCE
|
# CC = gcc -D_GNU_SOURCE
|
||||||
AR = ar
|
AR = ar
|
||||||
CTAGS = ctags-exuberant
|
CTAGS = ctags-exuberant
|
||||||
LD = gcc-3.2
|
LD = gcc-3.3
|
||||||
INSTALL = cp
|
INSTALL = cp
|
||||||
CFLAGS += -march=athlon -minline-all-stringops
|
CFLAGS += -march=athlon -minline-all-stringops
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue