mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-20 06:06:13 +00:00
Changed: Added header to fix mission compiler.
This commit is contained in:
parent
10c7a5c918
commit
621d0e2c45
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