fixed compile error with VC++ 2005 express. thx to bLuma for the report.
This commit is contained in:
parent
280642c136
commit
e9946c4330
@ -97,10 +97,7 @@ void DefScriptPackage::SetPath(std::string p){
|
|||||||
}
|
}
|
||||||
|
|
||||||
DefScript *DefScriptPackage::GetScript(std::string scname){
|
DefScript *DefScriptPackage::GetScript(std::string scname){
|
||||||
if(Script.find(scname) != NULL)
|
return ScriptExists(scname) ? Script[scname] : NULL;
|
||||||
return Script[scname];
|
|
||||||
else
|
|
||||||
return NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int DefScriptPackage::GetScripts(void){
|
unsigned int DefScriptPackage::GetScripts(void){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user