|
|
|
@ -825,7 +825,7 @@ bool CHudSpectator::ParseOverviewFile()
@@ -825,7 +825,7 @@ bool CHudSpectator::ParseOverviewFile()
|
|
|
|
|
char token[1024] = { 0 }; |
|
|
|
|
float height; |
|
|
|
|
|
|
|
|
|
char *pfile = NULL; |
|
|
|
|
char *afile = NULL, *pfile = NULL; |
|
|
|
|
|
|
|
|
|
memset( &m_OverviewData, 0, sizeof(m_OverviewData) ); |
|
|
|
|
|
|
|
|
@ -850,7 +850,7 @@ bool CHudSpectator::ParseOverviewFile()
@@ -850,7 +850,7 @@ bool CHudSpectator::ParseOverviewFile()
|
|
|
|
|
|
|
|
|
|
sprintf( filename, "overviews/%s.txt", levelname ); |
|
|
|
|
|
|
|
|
|
pfile = (char *)gEngfuncs.COM_LoadFile( filename, 5, NULL ); |
|
|
|
|
afile = pfile = (char *)gEngfuncs.COM_LoadFile( filename, 5, NULL ); |
|
|
|
|
|
|
|
|
|
if( !pfile ) |
|
|
|
|
{ |
|
|
|
@ -963,7 +963,7 @@ bool CHudSpectator::ParseOverviewFile()
@@ -963,7 +963,7 @@ bool CHudSpectator::ParseOverviewFile()
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
gEngfuncs.COM_FreeFile( pfile ); |
|
|
|
|
gEngfuncs.COM_FreeFile( afile ); |
|
|
|
|
|
|
|
|
|
m_mapZoom = m_OverviewData.zoom; |
|
|
|
|
m_mapOrigin = m_OverviewData.origin; |
|
|
|
|