summaryrefslogtreecommitdiff
path: root/src/dungeon_engine.c
blob: 8689b9197ed8bbda3339913c7993f9f328cde760 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "global.h"
#include "dungeon_engine.h"

bool8 entityExists(struct DungeonEntity *entity)
{
    if (!entity)
    {
        return FALSE;
    }
    return entity->entityType != ENTITY_NONE;
}