* scriptnames must be lowercased

* finished alpha 13.2 release version.
This commit is contained in:
False.Genesis 2007-06-22 11:33:40 +00:00
parent 4845888fc3
commit 652a599ce4
3 changed files with 5 additions and 5 deletions

View File

@ -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];
}

View File

@ -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;

View File

@ -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"