Avoid shadowing parameter.
This commit is contained in:
parent
b2ee8d6fa3
commit
8f9fd4137d
1 changed files with 5 additions and 5 deletions
|
@ -17,11 +17,11 @@ VpfLibrary::VpfLibrary (const std::string &path, const VpfDataBase &database)
|
||||||
_tileref_aft(0),
|
_tileref_aft(0),
|
||||||
_tileref_fbr(0)
|
_tileref_fbr(0)
|
||||||
{
|
{
|
||||||
string path = getChildFileName("tileref");
|
string fullpath = getChildFileName("tileref");
|
||||||
if (hasFile(path, "tileref.aft"))
|
if (hasFile(fullpath, "tileref.aft"))
|
||||||
_tileref_aft = getTable(getFileName(path, "tileref.aft"));
|
_tileref_aft = getTable(getFileName(fullpath, "tileref.aft"));
|
||||||
if (hasFile(path, "fbr"))
|
if (hasFile(fullpath, "fbr"))
|
||||||
_tileref_fbr = getTable(getFileName(path, "fbr"));
|
_tileref_fbr = getTable(getFileName(fullpath, "fbr"));
|
||||||
}
|
}
|
||||||
|
|
||||||
VpfLibrary::VpfLibrary (const VpfLibrary &library)
|
VpfLibrary::VpfLibrary (const VpfLibrary &library)
|
||||||
|
|
Loading…
Reference in a new issue