Fixed another crash in MP interpolation when data isn't available.
This commit is contained in:
parent
48b93ff982
commit
8494462a96
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ void FGAIMultiplayer::update(double dt)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else if (nextIt != mMotionInfo.end()) {
|
||||||
// Ok, we have really found something where our target time is in between
|
// Ok, we have really found something where our target time is in between
|
||||||
// do interpolation here
|
// do interpolation here
|
||||||
MotionInfo::iterator prevIt = nextIt;
|
MotionInfo::iterator prevIt = nextIt;
|
||||||
|
|
Loading…
Add table
Reference in a new issue