3D models and graphics will no longer load if race is in "results only" mode

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@214 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a936e9cd25d1bb1ed33bbef328114cd0c636f6c4
Former-commit-id: 403a96555e806ff8a1b7a490bcd2d9dad1e281cb
This commit is contained in:
andrewsumner 2008-11-12 02:06:38 +00:00
parent fd659f9752
commit c3cc7652f4

View file

@ -446,6 +446,7 @@ initTrack(tTrack *track)
grContext.makeCurrent(); grContext.makeCurrent();
grTrackHandle = GfParmReadFile(track->filename, GFPARM_RMODE_STD | GFPARM_RMODE_CREAT); grTrackHandle = GfParmReadFile(track->filename, GFPARM_RMODE_STD | GFPARM_RMODE_CREAT);
if (grNbScreen)
grLoadScene(track); grLoadScene(track);
for (i = 0; i < GR_NB_MAX_SCREEN; i++) { for (i = 0; i < GR_NB_MAX_SCREEN; i++) {