EMILE/libmap/map_is_valid.c

13 lines
190 B
C
Raw Normal View History

/*
*
* (c) 2004-2007 Laurent Vivier <Laurent@lvivier.info>
*
*/
#include "libmap.h"
int map_is_valid(map_t *map)
{
return read_short((u_int16_t*)&map->drivers.Sig) == DD_SIGNATURE;
}