- fixed compile

This commit is contained in:
Christoph Oelckers 2020-06-21 23:17:39 +02:00
parent 6b2fdf24fd
commit b2290cca3f
2 changed files with 1 additions and 13 deletions

View file

@ -38,7 +38,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
BEGIN_DUKE_NS
#define VOLUMEALL (g_Shareware == 0)
#define PLUTOPAK (g_scriptVersion >= 14)
#define PLUTOPAK (true)//g_scriptVersion >= 14)
#define VOLUMEONE (g_Shareware == 1)
// increase by 3, because atomic GRP adds 1, and Shareware adds 2
@ -196,17 +196,6 @@ enum GameFunction_t
NUM_ACTIONS
};
static inline int32_t G_HaveActor(int spriteNum)
{
return g_tile[spriteNum].execPtr!=NULL;
}
static inline int32_t G_DefaultActorHealth(int spriteNum)
{
return G_HaveActor(spriteNum) ? g_tile[spriteNum].execPtr[0] : 0;
}
struct GameInterface : ::GameInterface
{
const char* Name() override { return "Redneck"; }

View file

@ -49,7 +49,6 @@ extern const uint8_t CheatFunctionIDs[];
extern int errorcount;
extern int32_t line_number;
extern int32_t g_scriptVersion;
extern int32_t g_totalLines;
extern int warningcount;
extern int32_t otherp;