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.

Functions

static void free_treasurestruct (treasure *t)
 

Function Documentation

◆ free_treasurestruct()

static void free_treasurestruct ( treasure t)
static

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

Parameters
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: