- initialize model data at engine start, not at level start.

This commit is contained in:
Christoph Oelckers 2014-06-19 15:22:00 +02:00
commit 3e9b9c280b
6 changed files with 8 additions and 14 deletions

View file

@ -62,7 +62,6 @@
#include "gl/gl_functions.h"
void InitGLRMapinfoData();
void gl_InitData();
//==========================================================================
//
@ -613,15 +612,6 @@ void gl_PreprocessLevel()
{
int i;
static int datadone=-1;
if (datadone != restart)
{
datadone = restart;
gl_InitData();
}
PrepareSegs();
PrepareSectorData();
InitVertexData();