HPL1: Fix Bug in Game Script Functions Causing GCC Shadowing Warning

This commit is contained in:
D G Turner
2022-12-23 14:03:58 +01:00
committed by Eugene Sandulenko
parent ea4f1c156d
commit a170c19fb6
@@ -754,7 +754,7 @@ static void ReplaceEntity(std::string asName, std::string asBodyName,
return;
}
} else {
iPhysicsBody *pBody = pEntity->GetBody(0);
pBody = pEntity->GetBody(0);
}
cMatrixf mtxTransform = pBody->GetWorldMatrix();