temptative fix for the ndof bug

if vd.dist is null at a wrong time,
retore to last known good value
This commit is contained in:
Jean-Luc Peurière
2008-05-18 16:00:13 +00:00
parent 3effe8060d
commit 24c8d15446

View File

@@ -741,7 +741,7 @@ void viewmove(int mode)
// dist correction from other movement devices
if(dz_flag) {
if((dz_flag)||G.vd->dist==0) {
dz_flag = 0;
G.vd->dist = m_dist;
upvec[0] = upvec[1] = 0;