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

    hexen: Move Sky1ColumnOffset 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 ecb6ac37..5222525c 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 Sky1ColumnOffset;
 extern fixed_t Sky2ColumnOffset;
 extern boolean DoubleSky;

diff --git a/src/hexen/r_local.h b/src/hexen/r_local.h
index 60c471f4..7a05081d 100644
--- a/src/hexen/r_local.h
+++ b/src/hexen/r_local.h
@@ -406,6 +406,7 @@ void R_RenderMaskedSegRange(drawseg_t * ds, int x1, int x2);
 typedef void (*planefunction_t) (int top, int bottom);
 extern planefunction_t floorfunc, ceilingfunc;

+extern fixed_t Sky1ColumnOffset;
 extern int skyflatnum;

 extern short openings[MAXOPENINGS], *lastopening;