mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-13 12:44:48 +00:00
Fixed: Save filenames in .bank with / instead of system separator
This commit is contained in:
parent
175151bcdb
commit
b5ed119f90
1 changed files with 3 additions and 2 deletions
|
@ -20,6 +20,7 @@
|
||||||
#include "nel/misc/debug.h"
|
#include "nel/misc/debug.h"
|
||||||
#include "nel/misc/stream.h"
|
#include "nel/misc/stream.h"
|
||||||
#include "nel/misc/rgba.h"
|
#include "nel/misc/rgba.h"
|
||||||
|
#include "nel/misc/path.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -82,8 +83,8 @@ public:
|
||||||
// not free
|
// not free
|
||||||
_Flags&=~NL3D_CTILE_FREE_FLAG;
|
_Flags&=~NL3D_CTILE_FREE_FLAG;
|
||||||
|
|
||||||
// set filename
|
// set filename, replacing \\ by / if needed
|
||||||
_BitmapName[bitmapType]=name;
|
_BitmapName[bitmapType] = NLMISC::CPath::standardizePath(name, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string getFileName (TBitmap bitmapType) const
|
std::string getFileName (TBitmap bitmapType) const
|
||||||
|
|
Loading…
Reference in a new issue