various other cleanup
This commit is contained in:
@@ -48,9 +48,7 @@ public:
|
|||||||
float GetSecondsToDestination() const;
|
float GetSecondsToDestination() const;
|
||||||
int GetNumItems() const { return m_iNumItems; }
|
int GetNumItems() const { return m_iNumItems; }
|
||||||
|
|
||||||
//
|
|
||||||
// Commands
|
// Commands
|
||||||
//
|
|
||||||
void PushSelf( lua_State *L );
|
void PushSelf( lua_State *L );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
+2
-2
@@ -102,7 +102,7 @@ void BGAnimation::LoadFromAniDir( const RString &_sAniDir )
|
|||||||
|
|
||||||
if( DoesFileExist(sPathToIni) )
|
if( DoesFileExist(sPathToIni) )
|
||||||
{
|
{
|
||||||
// This is a new style BGAnimation (using .ini)
|
// This is a 3.9-style BGAnimation (using .ini)
|
||||||
IniFile ini;
|
IniFile ini;
|
||||||
ini.ReadFile( sPathToIni );
|
ini.ReadFile( sPathToIni );
|
||||||
|
|
||||||
@@ -117,7 +117,7 @@ void BGAnimation::LoadFromAniDir( const RString &_sAniDir )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// This is an old style BGAnimation (not using .ini)
|
// This is an 3.0 and before-style BGAnimation (not using .ini)
|
||||||
|
|
||||||
// loading a directory of layers
|
// loading a directory of layers
|
||||||
vector<RString> asImagePaths;
|
vector<RString> asImagePaths;
|
||||||
|
|||||||
+1
-1
@@ -61,7 +61,7 @@ void Banner::LoadFromCachedBanner( const RString &sPath )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Try to load the low quality version. */
|
// Try to load the low quality version.
|
||||||
ID = BANNERCACHE->LoadCachedBanner( sPath );
|
ID = BANNERCACHE->LoadCachedBanner( sPath );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user