Remove useless G_MoveLoop() function

git-svn-id: https://svn.eduke32.com/eduke32@8563 1a8010ca-5511-0410-912e-c29ae57300e0

# Conflicts:
#	source/duke3d/src/game.cpp
This commit is contained in:
terminx 2020-01-29 11:37:32 +00:00 committed by Christoph Oelckers
parent 541c71902b
commit 102c7a6293

View file

@ -99,8 +99,6 @@ static int32_t nonsharedtimer;
int32_t ticrandomseed; int32_t ticrandomseed;
GAME_STATIC GAME_INLINE int32_t G_MoveLoop(void);
int32_t g_levelTextTime = 0; int32_t g_levelTextTime = 0;
#if defined(RENDERTYPEWIN) && defined(USE_OPENGL) #if defined(RENDERTYPEWIN) && defined(USE_OPENGL)
@ -5958,7 +5956,8 @@ MAIN_LOOP_RESTART:
if (((!GUICapture && (myplayer.gm & MODE_MENU) != MODE_MENU) || ud.recstat == 2 || (g_netServer || ud.multimode > 1)) if (((!GUICapture && (myplayer.gm & MODE_MENU) != MODE_MENU) || ud.recstat == 2 || (g_netServer || ud.multimode > 1))
&& (myplayer.gm & MODE_GAME)) && (myplayer.gm & MODE_GAME))
{ {
G_MoveLoop(); Net_GetPackets();
G_DoMoveThings();
} }
if (totalclock - moveClock >= (TICSPERFRAME>>1)) if (totalclock - moveClock >= (TICSPERFRAME>>1))
@ -6029,13 +6028,6 @@ MAIN_LOOP_RESTART:
while (1); while (1);
} }
GAME_STATIC GAME_INLINE int32_t G_MoveLoop()
{
Net_GetPackets();
return G_DoMoveThings();
}
int G_DoMoveThings(void) int G_DoMoveThings(void)
{ {
ud.camerasprite = -1; ud.camerasprite = -1;