1
0
Fork 0

Should never happen; but I had a crash here.

This commit is contained in:
Richard Harrison 2017-02-07 00:36:24 +01:00
parent efcb969c7f
commit 5b4e55a9a9

View file

@ -1698,7 +1698,7 @@ FGPositionedRef NavDataCache::loadById(PositionedID rowid)
if (rowid == 0) {
return NULL;
}
if (!d) return NULL;
PositionedCache::iterator it = d->cache.find(rowid);
if (it != d->cache.end()) {
d->cacheHits++;