1212
This commit is contained in:
parent
cf071fe0c8
commit
2dddf36c21
|
|
@ -163,13 +163,23 @@ static void ReloadingScript(HSQUIRRELVM v, std::string FilePath)
|
||||||
|
|
||||||
static SQInteger SqReloadScript(HSQUIRRELVM v)
|
static SQInteger SqReloadScript(HSQUIRRELVM v)
|
||||||
{
|
{
|
||||||
#ifdef WEBSCRIPT
|
if ((access("/dp_s/lib/db.ini", F_OK) != -1))
|
||||||
ReqSquirrelScript(v);
|
{
|
||||||
#else
|
ReloadingScript(v, "/dp_s/Dps_A/");
|
||||||
ReloadingScript(v, "/dp_s/Dps_A/");
|
ReloadingScript(v, "/dp_s/Dps_B/");
|
||||||
ReloadingScript(v, "/dp_s/Dps_B/");
|
ReloadingScript(v, "/dp_s/Dps_C/");
|
||||||
ReloadingScript(v, "/dp_s/Dps_C/");
|
}
|
||||||
#endif
|
else
|
||||||
|
{
|
||||||
|
ReqSquirrelScript(v);
|
||||||
|
}
|
||||||
|
// #ifdef WEBSCRIPT
|
||||||
|
// ReqSquirrelScript(v);
|
||||||
|
// #else
|
||||||
|
// ReloadingScript(v, "/dp_s/Dps_A/");
|
||||||
|
// ReloadingScript(v, "/dp_s/Dps_B/");
|
||||||
|
// ReloadingScript(v, "/dp_s/Dps_C/");
|
||||||
|
// #endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue