attempt to support d1 for mac mission
[btb/d2x.git] / main / hoard.c
1 /* $Id: hoard.c,v 1.1 2002-08-30 00:55:57 btb Exp $ */
2
3 #ifdef HAVE_CONFIG_H
4 #include <conf.h>
5 #endif
6
7 #include "hoard.h"
8 #include "cfile.h"
9
10 int HoardEquipped()
11 {
12         static int checked=-1;
13
14 #ifdef WINDOWS
15                 return 0;
16 #endif
17
18         if (checked==-1)
19         {
20                 if (cfexist("hoard.ham"))
21                         checked=1;
22                 else
23                         checked=0;
24         }
25         return (checked);
26 }