* scriptnames must be lowercased
* finished alpha 13.2 release version.
This commit is contained in:
parent
4845888fc3
commit
652a599ce4
@ -202,7 +202,7 @@ bool DefScriptPackage::LoadScriptFromFile(std::string fn){
|
||||
unsigned int ppos = fn.find_last_of(".");
|
||||
if(ppos == std::string::npos)
|
||||
ppos = fn.length();
|
||||
sn = fn.substr(slashpos+1,(ppos-slashpos-1));
|
||||
sn = stringToLower(fn.substr(slashpos+1,(ppos-slashpos-1)));
|
||||
_UpdateOrCreateScriptByName(sn);
|
||||
curScript=Script[sn];
|
||||
|
||||
@ -241,7 +241,7 @@ bool DefScriptPackage::LoadScriptFromFile(std::string fn){
|
||||
{
|
||||
if(!curScript->GetLines()) // delete script if unused
|
||||
DeleteScript(curScript->GetName());
|
||||
sn = value;
|
||||
sn = stringToLower(value);
|
||||
_UpdateOrCreateScriptByName(sn);
|
||||
curScript=Script[sn];
|
||||
}
|
||||
|
||||
@ -46,8 +46,8 @@ void PseuInstanceRunnable::sleep(uint32 msecs)
|
||||
PseuInstance::PseuInstance(PseuInstanceRunnable *run)
|
||||
{
|
||||
_runnable=run;
|
||||
_ver="PseuWoW Alpha Build 13.1" DEBUG_APPENDIX;
|
||||
_ver_short="A13.1" DEBUG_APPENDIX;
|
||||
_ver="PseuWoW Alpha Build 13.2" DEBUG_APPENDIX;
|
||||
_ver_short="A13.2" DEBUG_APPENDIX;
|
||||
_wsession=NULL;
|
||||
_rsession=NULL;
|
||||
_scp=NULL;
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
#define _COMMON_SKIP_THREADS
|
||||
#include "common.h"
|
||||
|
||||
#define SE_VERSION 1
|
||||
#define SE_VERSION 2
|
||||
#define MAPS_VERSION ((uint32)0)
|
||||
#define OUTDIR "stuffextract"
|
||||
#define SCPDIR OUTDIR "/data/scp"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user