mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-15 22:08:43 +00:00
Changed: Minor changes
This commit is contained in:
parent
6cdc7fb900
commit
1132eb9fae
3 changed files with 8 additions and 7 deletions
|
@ -708,7 +708,7 @@ bool launchProgram(const std::string &programName, const std::string &arguments,
|
|||
}
|
||||
|
||||
string arg = " " + arguments;
|
||||
BOOL res = CreateProcessA(programName.c_str(), (char*)arg.c_str(), 0, 0, FALSE, CREATE_DEFAULT_ERROR_MODE | CREATE_NO_WINDOW, 0, 0, &si, &pi);
|
||||
BOOL res = CreateProcessA(programName.c_str(), (char*)arg.c_str(), NULL, NULL, FALSE, CREATE_DEFAULT_ERROR_MODE | CREATE_NO_WINDOW, NULL, NULL, &si, &pi);
|
||||
|
||||
if (res)
|
||||
{
|
||||
|
|
|
@ -918,8 +918,9 @@ NLMISC_COMMAND(createItem,"create a new item","<sheet id><quality>")
|
|||
// return false;
|
||||
// }
|
||||
//
|
||||
// CEntityId itemId( RYZOMID::object, NLMISC::fromString(args[0].c_str()) );
|
||||
// //uint16 quality = (uint16)NLMISC::fromString(args[1].c_str());
|
||||
// CEntityId itemId( RYZOMID::object, NLMISC::fromString(args[0]) );
|
||||
// //uint16 quality;
|
||||
// //NLMISC::fromString(args[1]; quality);
|
||||
//
|
||||
// sint32 x;
|
||||
// NLMISC::fromString(args[2], x);
|
||||
|
@ -957,9 +958,10 @@ NLMISC_COMMAND(createItem,"create a new item","<sheet id><quality>")
|
|||
// }
|
||||
// else
|
||||
// {
|
||||
// CEntityId itemId( RYZOMID::object, NLMISC::fromString(args[0].c_str()) );
|
||||
// CEntityId itemId( RYZOMID::object, NLMISC::fromString(args[0]) );
|
||||
// CSheetId sheetId(args[1]);
|
||||
// uint16 quality = (uint16)NLMISC::fromString(args[2].c_str());
|
||||
// uint16 quality;
|
||||
// NLMISC::fromString(args[2], quality);
|
||||
// sint32 x = (sint32)NLMISC::fromString(args[3].c_str()) * 1000;
|
||||
// sint32 y = (sint32)NLMISC::fromString(args[4].c_str()) * 1000;
|
||||
// sint32 z = (sint32)NLMISC::fromString(args[5].c_str()) * 1000;
|
||||
|
|
|
@ -140,8 +140,7 @@ public:
|
|||
//get the number of nodes
|
||||
uint16 getNbNodes() const
|
||||
{
|
||||
return (uint16)
|
||||
_Nodes.size();
|
||||
return (uint16)_Nodes.size();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue