Skip to content

Commit

Permalink
Candle property warning to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi committed Mar 17, 2015
1 parent 3bcc877 commit aa9dd77
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/object/candle.cpp
Expand Up @@ -34,21 +34,21 @@ Candle::Candle(const Reader& lisp)

if(!lisp.get("name", name))
{
log_warning << "Couldn't get \"name\" property for candle." << std::endl;
log_debug << "Couldn't get \"name\" property for candle." << std::endl;
}
if(!lisp.get("burning", burning))
{
log_warning << "Couldn't get \"burning\" property for candle." << std::endl;
log_debug << "Couldn't get \"burning\" property for candle." << std::endl;
}
if(!lisp.get("flicker", flicker))
{
log_warning << "Couldn't get \"flicker\" property for candle." << std::endl;
log_debug << "Couldn't get \"flicker\" property for candle." << std::endl;
}
//get color from lisp
std::vector<float> vColor;
if(lisp.get("color", vColor))
{
log_warning << "Couldn't get \"color\" property for candle." << std::endl;
log_debug << "Couldn't get \"color\" property for candle." << std::endl;
}

//change the light color if defined
Expand Down

0 comments on commit aa9dd77

Please sign in to comment.