mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-06-01 17:22:34 +00:00
Added entityDef misc_model helper for TB
This commit is contained in:
parent
ef47fc9092
commit
55abfc26aa
4 changed files with 30 additions and 10 deletions
|
@ -2904,6 +2904,13 @@ bool idMapFile::ConvertToValve220Format()
|
|||
{
|
||||
// just a regular entity
|
||||
|
||||
if( idStr::Icmp( classname, "func_static" ) == 0 && idStr::Icmp( model.c_str(), classname.c_str() ) != 0 )
|
||||
{
|
||||
// TrenchBroom doesn't allow models for SolidClasses
|
||||
// use Quake 3 style misc_model helper class instead
|
||||
ent->epairs.Set( "classname", "misc_model" );
|
||||
}
|
||||
|
||||
// replace "rotation" with angles because it is not supported by TrenchBroom
|
||||
if( ent->epairs.FindKey( "rotation" ) )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue