mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 22:37:45 +00:00
remove EXPORT_SCRIPTOBJECT from generated scripts - unused now
This commit is contained in:
parent
97dcf5640e
commit
86818e14ed
1 changed files with 1 additions and 3 deletions
|
@ -285,12 +285,10 @@ void createScript( boost::shared_ptr< Core::Data::QuestInfo >& pQuestData, std::
|
||||||
"};\n\n"
|
"};\n\n"
|
||||||
);
|
);
|
||||||
|
|
||||||
std::string initObj( "EXPORT_SCRIPTOBJECT( " + className + " );" );
|
|
||||||
|
|
||||||
std::ofstream outputFile;
|
std::ofstream outputFile;
|
||||||
|
|
||||||
outputFile.open( "generated/" + className + ".cpp_generated" );
|
outputFile.open( "generated/" + className + ".cpp_generated" );
|
||||||
outputFile << header << additional << classString << initObj;
|
outputFile << header << additional << classString;
|
||||||
outputFile.close();
|
outputFile.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue