forked from github/server
letzte ueberbleibsel von debug_number entfernt
This commit is contained in:
parent
60e790bafc
commit
3725dfec48
|
@ -1707,7 +1707,6 @@ writeunit(FILE * F, const unit * u)
|
||||||
wi36(F, u->faction->no);
|
wi36(F, u->faction->no);
|
||||||
ws(F, u->name);
|
ws(F, u->name);
|
||||||
ws(F, u->display);
|
ws(F, u->display);
|
||||||
assert(old_race(u->race) == RC_SPELL || u->number == u->debug_number);
|
|
||||||
wi(F, u->number);
|
wi(F, u->number);
|
||||||
wi(F, u->age);
|
wi(F, u->age);
|
||||||
ws(F, u->race->_name[0]);
|
ws(F, u->race->_name[0]);
|
||||||
|
|
|
@ -87,11 +87,6 @@ typedef struct unit {
|
||||||
struct strlist *botschaften;
|
struct strlist *botschaften;
|
||||||
unsigned int flags;
|
unsigned int flags;
|
||||||
struct attrib * attribs;
|
struct attrib * attribs;
|
||||||
#ifndef NDEBUG
|
|
||||||
int debug_number; /* Sollte immer == number sein. Wenn nicht, ist
|
|
||||||
* * nicht mit createunit und set_number
|
|
||||||
* * gearbeitet worden. */
|
|
||||||
#endif
|
|
||||||
status_t status;
|
status_t status;
|
||||||
const struct race * race;
|
const struct race * race;
|
||||||
const struct race * irace;
|
const struct race * irace;
|
||||||
|
|
Loading…
Reference in New Issue