diff --git a/src/model/model.cpp b/src/model/model.cpp index 378428a..09eb9b0 100644 --- a/src/model/model.cpp +++ b/src/model/model.cpp @@ -30,6 +30,8 @@ //#include //#include +#include + #include #include @@ -471,7 +473,7 @@ void block::loadPayload(const buffer &data) bool block::isEngineFx() const { - return h.type == BlockType::HelperObject && h.name.find("FIRE") == 0; + return h.type == BlockType::HelperObject && h.name.find(boost::to_lower_copy(std::string("FIRE"))) == 0; } bool block::canPrint() const