Re: Problem with Dynamically allocated structures
Michael Barton <[email protected]>
| Newsgroups | gmane.games.devel.mud.rom |
|---|---|
| Message-ID | <[email protected]> |
> Merc.h:
> struct spells_type *spells_table;
This should be:
extern struct spells_type *spells_table;
> Const.c:
> struct spells_type *spells_table =
> {
> };
Hopefully you have something in this array in the game? Otherwise,
you need to specify how big the array should be. Try this instead:
struct spells_type spells_table[3];
--
ROM mailing list
[email protected]
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom