Fix engine sockets.

This commit is contained in:
lzwdgc 2018-04-23 01:44:55 +03:00
parent 35bbd28a4f
commit 3d894efc5e

View file

@ -30,6 +30,8 @@
//#include <Eigen/Core> //#include <Eigen/Core>
//#include <Eigen/Dense> //#include <Eigen/Dense>
#include <boost/algorithm/string.hpp>
#include <unicode/translit.h> #include <unicode/translit.h>
#include <unicode/errorcode.h> #include <unicode/errorcode.h>
@ -471,7 +473,7 @@ void block::loadPayload(const buffer &data)
bool block::isEngineFx() const 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 bool block::canPrint() const