Skip to content

Commit

Permalink
Fix build when WITH_NETWORK is false
Browse files Browse the repository at this point in the history
  • Loading branch information
okkirikomi committed Jun 4, 2022
1 parent 74245db commit 38a6308
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tyrian2.c
Expand Up @@ -3192,6 +3192,7 @@ void JE_loadMap( void )
/* End of find loop for LEVEL??.DAT */
}

#ifdef WITH_NETWORK
void networkStartScreen( void )
{
JE_loadPic(VGAScreen, 2, false);
Expand Down Expand Up @@ -3269,6 +3270,7 @@ void networkStartScreen( void )
SDL_Delay(16);
}
}
#endif /* WITH_NETWORK */

bool titleScreen( void )
{
Expand Down
2 changes: 2 additions & 0 deletions src/tyrian2.h
Expand Up @@ -55,7 +55,9 @@ void JE_starShowVGA( void );

void JE_main( void );
void JE_loadMap( void );
#ifdef WITH_NETWORK
void networkStartScreen( void );
#endif
bool titleScreen( void );
bool newGame( void );
bool newSuperArcadeGame( unsigned int i );
Expand Down

0 comments on commit 38a6308

Please sign in to comment.