From 840457f4712e81e52220c9d6db2eb5e411d54c9e Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin <15944199+nekonomicon@users.noreply.github.com> Date: Sun, 12 Mar 2023 01:55:34 +0500 Subject: [PATCH] Fix synctype_t enumeration redefinition. --- engine/sprite.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engine/sprite.h b/engine/sprite.h index ee0c317b..9b112d9e 100644 --- a/engine/sprite.h +++ b/engine/sprite.h @@ -28,11 +28,14 @@ SPRITE MODELS #define IDSPRITEHEADER (('P'<<24)+('S'<<16)+('D'<<8)+'I') // little-endian "IDSP" #define SPRITE_VERSION 2 // Half-Life sprites +#if !defined(SYNCTYPE_T) +#define SYNCTYPE_T typedef enum { ST_SYNC = 0, ST_RAND } synctype_t; +#endif typedef enum {