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

    hexen: Move R_InitSky prototype to r_local.h
---
 src/hexen/g_game.c  | 1 -
 src/hexen/r_local.h | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/hexen/g_game.c b/src/hexen/g_game.c
index 64e3d3bc..d2b94716 100644
--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -34,7 +34,6 @@

 // External functions

-extern void R_InitSky(int map);

 // Functions

diff --git a/src/hexen/r_local.h b/src/hexen/r_local.h
index 95f0c4d2..60c471f4 100644
--- a/src/hexen/r_local.h
+++ b/src/hexen/r_local.h
@@ -426,6 +426,8 @@ visplane_t *R_FindPlane(fixed_t height, int picnum, int lightlevel,
                         int special);
 visplane_t *R_CheckPlane(visplane_t * pl, int start, int stop);

+void R_InitSky(int map);
+

 //
 // R_debug.m