1
0
Fork 0

Fixed another crash in MP interpolation when data isn't available.

This commit is contained in:
Richard Harrison 2017-03-30 04:04:21 +02:00
parent 48b93ff982
commit 8494462a96

View file

@ -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
// do interpolation here
MotionInfo::iterator prevIt = nextIt;