- implement proper GC handling for AActor::ViewPos.
This commit is contained in:
parent
4049a0d8f1
commit
27cba4c990
6 changed files with 13 additions and 12 deletions
|
|
@ -5424,7 +5424,7 @@ void P_AimCamera(AActor *t1, DVector3 &campos, DAngle &camangle, sector_t *&Came
|
|||
}
|
||||
|
||||
// [MC] Used for ViewPos. Uses code borrowed from P_AimCamera.
|
||||
void P_AdjustViewPos(AActor *t1, DVector3 orig, DVector3 &campos, sector_t *&CameraSector, bool &unlinked, FViewPosition *VP)
|
||||
void P_AdjustViewPos(AActor *t1, DVector3 orig, DVector3 &campos, sector_t *&CameraSector, bool &unlinked, DViewPosition *VP)
|
||||
{
|
||||
FTraceResults trace;
|
||||
const DVector3 vvec = campos - orig;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue