mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-13 02:39:37 +00:00
Changed: Added header to fix mission compiler.
--HG-- branch : gsoc2011-translationovqt
This commit is contained in:
parent
1f9113e781
commit
f658be4ab9
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