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

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