forked from speed-dreams/speed-dreams-code
trackgen: fix a cppcheck warning
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8511 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 0937de914226d5c7a56c198024d765e4b9971e33 Former-commit-id: 6a846f6c687edc8ff114a9cd58b4e16b98d4d6fb
This commit is contained in:
parent
23697ed831
commit
460e52fc41
1 changed files with 1 additions and 1 deletions
|
@ -637,7 +637,7 @@ GenerateObjects(tTrack *track, void *TrackHandle, void *CfgHandle, FILE *save_fd
|
|||
|
||||
const char *extName = GfParmGetStr(CfgHandle, "Files", "object", "obj");
|
||||
std::string objectFile(outputFile + "-" + extName + "-" + std::to_string(index) + ".ac");
|
||||
FILE *curFd = Ac3dOpen(objectFile.c_str(), 1);
|
||||
FILE *curFd = Ac3dOpen(objectFile, 1);
|
||||
ssgSaveACInner(GroupRoot, curFd);
|
||||
Ac3dClose(curFd);
|
||||
|
||||
|
|
Loading…
Reference in a new issue