diff --git a/Ref.h b/Ref.h index 34eb40676b42722fa55e278b7bf6ff80109dc025..88a0ccd37f90e51d44bceec47ae30f9a17620211 100644 --- a/Ref.h +++ b/Ref.h @@ -64,7 +64,7 @@ Ref<T>::operator T*() const { template <class T> T& Ref<T>::operator*() const { - return _object; + return *_object; } template <class T> diff --git a/niflib.vcproj b/niflib.vcproj index b1bb6f46ca18e8dc7038951745e2c4d901f11126..585123382d0d49850190cb0796f0869fdc1f4009 100644 --- a/niflib.vcproj +++ b/niflib.vcproj @@ -825,6 +825,9 @@ <File RelativePath=".\gen\hkTriangle.cpp"> </File> + <File + RelativePath=".\gen\LimitedHingeDescriptor.cpp"> + </File> <File RelativePath=".\gen\LODRange.cpp"> </File> @@ -849,6 +852,9 @@ <File RelativePath=".\gen\QuaternionXYZW.cpp"> </File> + <File + RelativePath=".\gen\RagDollDescriptor.cpp"> + </File> <File RelativePath=".\gen\ShaderTexDesc.cpp"> </File> @@ -1579,6 +1585,9 @@ <File RelativePath=".\gen\KeyGroup.h"> </File> + <File + RelativePath=".\gen\LimitedHingeDescriptor.h"> + </File> <File RelativePath=".\gen\LODRange.h"> </File> @@ -1603,6 +1612,9 @@ <File RelativePath=".\gen\QuaternionXYZW.h"> </File> + <File + RelativePath=".\gen\RagDollDescriptor.h"> + </File> <File RelativePath=".\gen\RotationKeyArray.h"> </File>