mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-05 09:45:35 +00:00
Handle the "land" soundgen type
This commit is contained in:
parent
705498ec24
commit
d9a9c3d6bd
2 changed files with 4 additions and 0 deletions
|
@ -388,6 +388,8 @@ namespace MWClass
|
||||||
return 5;
|
return 5;
|
||||||
if(name == "scream")
|
if(name == "scream")
|
||||||
return 6;
|
return 6;
|
||||||
|
if(name == "land")
|
||||||
|
return 7;
|
||||||
|
|
||||||
throw std::runtime_error(std::string("Unexpected soundgen type: ")+name);
|
throw std::runtime_error(std::string("Unexpected soundgen type: ")+name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -807,6 +807,8 @@ namespace MWClass
|
||||||
return "";
|
return "";
|
||||||
if(name == "scream")
|
if(name == "scream")
|
||||||
return "";
|
return "";
|
||||||
|
if(name == "land")
|
||||||
|
return "";
|
||||||
|
|
||||||
throw std::runtime_error(std::string("Unexpected soundgen type: ")+name);
|
throw std::runtime_error(std::string("Unexpected soundgen type: ")+name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue