Permalink
Browse files

Small repairs for the previous commit

  • Loading branch information...
1 parent a550228 commit e8af38f1e4fa574dc71224a813cf2a784dfbfa56 @max-frai max-frai committed Aug 29, 2010
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/Managers/Entities/Entity.cpp
@@ -106,7 +106,7 @@ ptree Entity::defaultLoader(const string &infoPath)
{
if (!boost::filesystem::exists(utils.getMediaPath() + infoPath))
{
- LOG_META(FORMAT("The given location: 1% is invalid!", infoPath));
+ LOG_META(FORMAT("The given location: %1% is invalid!", infoPath));
return ptree();
}
@@ -115,9 +115,6 @@ ptree Entity::defaultLoader(const string &infoPath)
setDrawable( tree_handle.get<bool>("common_settigns.visible", true) );
- // I don't think we need this
- // setName( tree_handle.get<string>("common_settigns.name", mEntityName) );
-
string argName;
vector<string> parseStorage;
float storage[3];

0 comments on commit e8af38f

Please sign in to comment.