* Don't (re)initialize the text render module upon calling iV_Reset() anymore

* Remove iV_Reset() call from src/levels.c which is there only to prevent a crash caused by the *OLD* font rendering code
 * Make sure to initalize the font rendering module (by calling iv_TextInit()) in init.c:systemInitialize()


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2593 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2007-10-22 22:51:44 +00:00
parent d5601ebc91
commit 95caee7a1f
2 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,6 @@
void iV_Reset() void iV_Reset()
{ {
_TEX_INDEX = 0; _TEX_INDEX = 0;
iV_TextInit(); // Initialise the IVIS font module.
} }

View File

@ -1000,6 +1000,9 @@ BOOL systemInitialise(void)
arrowInit(); arrowInit();
#endif #endif
// Initialize the iVis text rendering module
iV_TextInit();
iV_Reset(); // Reset the IV library. iV_Reset(); // Reset the IV library.
initLoadingScreen(TRUE); initLoadingScreen(TRUE);