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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.