mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 23:26:15 +00:00
Changed: std::string already empty
This commit is contained in:
parent
b785a5114b
commit
ff11c8b8fb
2 changed files with 2 additions and 2 deletions
|
@ -346,7 +346,7 @@ static CLuaString lstr_isNil("isNil");
|
||||||
void CLuaIHMRyzom::createLuaEnumTable(CLuaState &ls, const std::string &str)
|
void CLuaIHMRyzom::createLuaEnumTable(CLuaState &ls, const std::string &str)
|
||||||
{
|
{
|
||||||
//H_AUTO(Lua_CLuaIHM_createLuaEnumTable)
|
//H_AUTO(Lua_CLuaIHM_createLuaEnumTable)
|
||||||
std::string path = "", script, p;
|
std::string path, script, p;
|
||||||
CSString s = str;
|
CSString s = str;
|
||||||
// Create table recursively (ex: 'game.TPVPClan' will check/create the table 'game' and 'game.TPVPClan')
|
// Create table recursively (ex: 'game.TPVPClan' will check/create the table 'game' and 'game.TPVPClan')
|
||||||
p = s.splitTo('.', true);
|
p = s.splitTo('.', true);
|
||||||
|
|
|
@ -1158,7 +1158,7 @@ void CScreenshotIslands::loadIslands()
|
||||||
TBuffer cleanBuffer;
|
TBuffer cleanBuffer;
|
||||||
processProximityBuffer(zoneBuffer, zones[i].getZoneWidth(), cleanBuffer);
|
processProximityBuffer(zoneBuffer, zones[i].getZoneWidth(), cleanBuffer);
|
||||||
|
|
||||||
string fileName = string("");
|
string fileName;
|
||||||
list< string >::const_iterator itIsland(continent.Islands.begin()), lastIsland(continent.Islands.end());
|
list< string >::const_iterator itIsland(continent.Islands.begin()), lastIsland(continent.Islands.end());
|
||||||
for( ; itIsland != lastIsland ; ++itIsland)
|
for( ; itIsland != lastIsland ; ++itIsland)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue