Changed: Added header to fix mission compiler.
This commit is contained in:
parent
90083b318d
commit
dfad5c55bc
1 changed files with 3 additions and 1 deletions
|
@ -26,6 +26,8 @@
|
||||||
#include <nel/ligo/primitive.h>
|
#include <nel/ligo/primitive.h>
|
||||||
#include <nel/ligo/ligo_config.h>
|
#include <nel/ligo/ligo_config.h>
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
using namespace MissionCompiler::Constants;
|
using namespace MissionCompiler::Constants;
|
||||||
|
|
||||||
MissionCompilerMainWindow::MissionCompilerMainWindow(QWidget *parent) :
|
MissionCompilerMainWindow::MissionCompilerMainWindow(QWidget *parent) :
|
||||||
|
@ -379,7 +381,7 @@ bool MissionCompilerMainWindow::parsePrimForMissions(NLLIGO::IPrimitive const *p
|
||||||
{
|
{
|
||||||
std::string value;
|
std::string value;
|
||||||
// if the node is a mission parse it
|
// if the node is a mission parse it
|
||||||
if (prim->getPropertyByName("class",value) && !NLMISC::stricmp(value.c_str(),"mission") )
|
if (prim->getPropertyByName("class",value) && !stricmp(value.c_str(),"mission") )
|
||||||
{
|
{
|
||||||
std::string name;
|
std::string name;
|
||||||
prim->getPropertyByName("name",name);
|
prim->getPropertyByName("name",name);
|
||||||
|
|
Loading…
Reference in a new issue