refactor: unglob std::wstring
This commit is contained in:
1 parent
41db813a6d
commit
cdc08700e4
581 files changed
+2156
-2154
No files matched your search
@@ -15,11 +15,11 @@ TextureAndGeometryChangePacket::TextureAndGeometryChangePacket()
|
||||
dwSkinID = 0;
|
||||
}
|
||||
|
||||
TextureAndGeometryChangePacket::TextureAndGeometryChangePacket(std::shared_ptr<Entity> e, const wstring &path)
|
||||
TextureAndGeometryChangePacket::TextureAndGeometryChangePacket(std::shared_ptr<Entity> e, const std::wstring &path)
|
||||
{
|
||||
id = e->entityId;
|
||||
this->path = path;
|
||||
wstring skinValue = path.substr(7,path.size());
|
||||
std::wstring skinValue = path.substr(7,path.size());
|
||||
skinValue = skinValue.substr(0,skinValue.find_first_of(L'.'));
|
||||
std::wstringstream ss;
|
||||
ss << std::dec << skinValue.c_str();
|
||||
|
||||
Reference in new issue
Block a user