foxygit / doom Log in
commit ab5066b714958ba1d90392a606d0c93a3ab89e2e
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Sep 13 19:24:16 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Mon Oct 3 12:52:15 2022 +0300

    hexen: Move Sky2ColumnOffset extern declaration to r_local.h
---
 src/hexen/p_anim.c  | 1 -
 src/hexen/r_local.h | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hexen/p_anim.c b/src/hexen/p_anim.c
index 5222525c..728df8ca 100644
--- a/src/hexen/p_anim.c
+++ b/src/hexen/p_anim.c
@@ -68,7 +68,6 @@ static void P_LightningFlash(void);

 // EXTERNAL DATA DECLARATIONS ----------------------------------------------

-extern fixed_t Sky2ColumnOffset;
 extern boolean DoubleSky;

 // PUBLIC DATA DEFINITIONS -------------------------------------------------
diff --git a/src/hexen/r_local.h b/src/hexen/r_local.h
index 7a05081d..b786a6dc 100644
--- a/src/hexen/r_local.h
+++ b/src/hexen/r_local.h
@@ -407,6 +407,7 @@ typedef void (*planefunction_t) (int top, int bottom);
 extern planefunction_t floorfunc, ceilingfunc;

 extern fixed_t Sky1ColumnOffset;
+extern fixed_t Sky2ColumnOffset;
 extern int skyflatnum;

 extern short openings[MAXOPENINGS], *lastopening;