mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-28 19:21:04 +00:00
fixed a broken UniversalId constructor
This commit is contained in:
parent
10c5f29075
commit
7450554ef1
@ -45,7 +45,7 @@ CSMWorld::UniversalId::UniversalId (const std::string& universalId)
|
||||
{
|
||||
std::string::size_type index = universalId.find (':');
|
||||
|
||||
if (index==std::string::npos)
|
||||
if (index!=std::string::npos)
|
||||
{
|
||||
std::string type = universalId.substr (0, index);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user