forked from mirror/openmw-tes3mp
fixed a broken UniversalId constructor
This commit is contained in:
parent
10c5f29075
commit
7450554ef1
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ CSMWorld::UniversalId::UniversalId (const std::string& universalId)
|
||||||
{
|
{
|
||||||
std::string::size_type index = universalId.find (':');
|
std::string::size_type index = universalId.find (':');
|
||||||
|
|
||||||
if (index==std::string::npos)
|
if (index!=std::string::npos)
|
||||||
{
|
{
|
||||||
std::string type = universalId.substr (0, index);
|
std::string type = universalId.substr (0, index);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue