- summondragon parameter list

- number of new players.
This commit is contained in:
Enno Rehling 2006-04-09 09:31:16 +00:00
parent 71ed9ee27a
commit c33cd598b5
5 changed files with 10 additions and 9 deletions

View File

@ -46,6 +46,8 @@ typedef struct shortpwd {
#define FFL_NOTIMEOUT (1<<29) /* ignore MaxAge() */
#define FFL_GM (1<<30) /* eine Partei mit Sonderrechten */
#define FFL_SAVEMASK (FFL_GM|FFL_NOTIMEOUT|FFL_DBENTRY|FFL_NOTIMEOUT)
typedef struct faction {
struct faction *next;
struct faction *nexthash;

View File

@ -1539,7 +1539,6 @@ readfaction(FILE * F)
#endif /* KARMA_MODULE */
f->flags = ri(F);
freset(f, FFL_OVERRIDE);
a_read(F, &f->attribs);
if (global.data_version>=CLAIM_VERSION) {
@ -1635,15 +1634,15 @@ writefaction(FILE * F, const faction * f)
wi(F, 0);
#endif /* KARMA_MODULE */
wi(F, f->flags);
wi(F, f->flags&FFL_SAVEMASK);
a_write(F, f->attribs);
wnl(F);
#if RELEASE_VERSION>=CLAIM_VERSION
write_items(F, f->items);
wnl(F);
#endif
fputs("end ", F);
wnl(F);
fputs("end ", F);
wnl(F);
wi(F, listlen(f->ursprung));
for(ur = f->ursprung;ur;ur=ur->next) {
wi(F, ur->id);

View File

@ -317,9 +317,6 @@
<File
RelativePath=".\infocmd.c">
</File>
<File
RelativePath=".\museum.c">
</File>
<File
RelativePath=".\score.c">
</File>

View File

@ -287,6 +287,9 @@
<File
RelativePath=".\illusion.c">
</File>
<File
RelativePath="..\modules\museum.c">
</File>
<File
RelativePath=".\zombies.c">
</File>

View File

@ -2703,7 +2703,7 @@ sp_summondragon(castorder *co)
}
ADDMSG(&mage->faction->msgs, msg_message(
"summondragon", "unit region command region",
"summondragon", "unit region command target",
mage, mage->region, co->order, co->rt));
free_regionlist(rl);
@ -4882,7 +4882,7 @@ sp_dragonsong(castorder *co)
}
ADDMSG(&mage->faction->msgs, msg_message(
"summondragon", "unit region command region",
"summondragon", "unit region command target",
mage, mage->region, co->order, co->rt));
free_regionlist(rl);