Skip to content

free_magic

Prototypeint free_magic(void)

free_magic() counts how many of the 8 magic inventory slots remain unused. It is a good idea to check before calling add_magic(). See free_items() for a related example.

For more information, see Items