letzte ueberbleibsel von debug_number entfernt

This commit is contained in:
Enno Rehling 2003-08-03 17:23:04 +00:00
parent 60e790bafc
commit 3725dfec48
2 changed files with 0 additions and 6 deletions

View File

@ -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]);

View File

@ -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;