mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
- code cleanup mostly from Brent Johnson (Nonomori), a very few from me
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@508 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -85,7 +85,7 @@ BOOLEAN InitTileCache( )
|
||||
SET_ERROR( "Cannot load tilecache JSD: %s", gpTileCacheStructInfo[ cnt ].Filename );
|
||||
}
|
||||
#endif
|
||||
if ( stricmp( gpTileCacheStructInfo[ cnt ].zRootName, "l_dead1" ) == 0 )
|
||||
if ( _stricmp( gpTileCacheStructInfo[ cnt ].zRootName, "l_dead1" ) == 0 )
|
||||
{
|
||||
giDefaultStructIndex = cnt;
|
||||
}
|
||||
@@ -370,7 +370,7 @@ void GetRootName( INT8 * pDestStr, INT8 * pSrcStr )
|
||||
}
|
||||
|
||||
// Now remove extension...
|
||||
cEndOfName = strchr( (const char *)pDestStr, '.' );
|
||||
cEndOfName = strchr( (char *)pDestStr, '.' );
|
||||
if (cEndOfName != NULL)
|
||||
{
|
||||
*cEndOfName = '\0';
|
||||
|
||||
Reference in New Issue
Block a user