Should never happen; but I had a crash here.
This commit is contained in:
parent
efcb969c7f
commit
5b4e55a9a9
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Reference in a new issue