mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-14 17:33:25 +00:00
Fix engine sockets.
This commit is contained in:
parent
35bbd28a4f
commit
3d894efc5e
1 changed files with 3 additions and 1 deletions
|
|
@ -30,6 +30,8 @@
|
|||
//#include <Eigen/Core>
|
||||
//#include <Eigen/Dense>
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
||||
#include <unicode/translit.h>
|
||||
#include <unicode/errorcode.h>
|
||||
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue