Crossfire Server, Trunk
Treasures.cpp File Reference
#include "Treasures.h"
#include "global.h"
+ Include dependency graph for Treasures.cpp:

Go to the source code of this file.


static void free_treasurestruct (treasure *t)

Function Documentation

◆ free_treasurestruct()

static void free_treasurestruct ( treasure t)

Frees a treasure, including its yes, no and next items.

ttreasure to free. Pointer is free()d too, so becomes invalid.

Definition at line 30 of file Treasures.cpp.

References Floor::t.

Referenced by Treasures::destroy(), and Treasures::replace().

+ Here is the caller graph for this function: