Skip to content

Commit

Permalink
Tuning: fixed props loading from wrong ZIP
Browse files Browse the repository at this point in the history
Caused by a copypaste derp.
  • Loading branch information
ohlidalp committed Feb 4, 2024
1 parent ec31a58 commit a4e9e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main/physics/ActorSpawner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1642,7 +1642,7 @@ void ActorSpawner::ProcessProp(RigDef::Prop & def)
prop.pp_media[0] = TuneupUtil::getTweakedPropMedia(m_actor->getWorkingTuneupDef(), prop_id, 0, def.mesh_name);
prop.pp_mesh_obj = new MeshObject(//def.mesh_name, resource_group, instance_name, prop.pp_scene_node);
prop.pp_media[0],
TuneupUtil::getTweakedPropMediaRG(m_actor->getWorkingTuneupDef(), prop_id, 1, media0_rg),
TuneupUtil::getTweakedPropMediaRG(m_actor->getWorkingTuneupDef(), prop_id, 0, media0_rg),
this->ComposeName("PropEntity", prop_id),
prop.pp_scene_node);

Expand Down

0 comments on commit a4e9e67

Please sign in to comment.