Fixed warnings

This commit is contained in:
Robert Osfield
2013-02-04 13:27:46 +00:00
parent 39a3227397
commit f64feb783f
3 changed files with 6 additions and 6 deletions

View File

@@ -432,7 +432,7 @@ trpgModel *trpgModelTable::GetModelRef(int id)
//return &models[id];
ModelMapType::iterator itr = modelsMap.find(id);
if(itr == modelsMap.end()) {
return false;
return 0;
}
return &(itr->second);
}