ListGame * lg = (ListGame *) gameList.head;\r
int nItem;\r
\r
- if( ((ListGame *) gameList.tailPred)->number <= 0 ) {\r
+ if( !glc || ((ListGame *) gameList.tailPred)->number <= 0 ) {\r
DisplayError("Game list not loaded or empty", 0);\r
return False;\r
}\r