fix indentation
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8144 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: f9888d6bfe23b9bb09982d3fce3c6d373dceee9f Former-commit-id: af977b1bab6500aaa1391b1407fb0637c4d2254a
This commit is contained in:
parent
ded2472a9b
commit
0f0de470ea
1 changed files with 9 additions and 9 deletions
|
@ -124,15 +124,15 @@ void SDScenery::LoadScene(tTrack *track)
|
|||
|
||||
std::string PathTmp = GfDataDir();
|
||||
|
||||
_bgsky = strcmp(GfParmGetStr(grHandle, GR_SCT_GRAPHIC, GR_ATT_BGSKY, GR_ATT_BGSKY_DISABLED), GR_ATT_BGSKY_ENABLED) == 0;
|
||||
if (_bgsky)
|
||||
{
|
||||
std::string strPath = PathTmp;
|
||||
snprintf(buf, 256, "tracks/%s/%s/", SDTrack->category, SDTrack->internalname);
|
||||
strPath += buf;
|
||||
m_background->build(grWrldX, grWrldY, grWrldZ, strPath);
|
||||
GfLogDebug("Background loaded\n");
|
||||
}
|
||||
_bgsky = strcmp(GfParmGetStr(grHandle, GR_SCT_GRAPHIC, GR_ATT_BGSKY, GR_ATT_BGSKY_DISABLED), GR_ATT_BGSKY_ENABLED) == 0;
|
||||
if (_bgsky)
|
||||
{
|
||||
std::string strPath = PathTmp;
|
||||
snprintf(buf, 256, "tracks/%s/%s/", SDTrack->category, SDTrack->internalname);
|
||||
strPath += buf;
|
||||
m_background->build(grWrldX, grWrldY, grWrldZ, strPath);
|
||||
GfLogDebug("Background loaded\n");
|
||||
}
|
||||
|
||||
std::string strPath = GfDataDir();
|
||||
snprintf(buf, 256, "tracks/%s/%s/", SDTrack->category, SDTrack->internalname);
|
||||
|
|
Loading…
Reference in a new issue