From Daniel Sjölie - added support for multitexured flt files.

This commit is contained in:
Robert Osfield
2002-09-18 11:11:10 +00:00
parent ed43d97ed3
commit 4a54b7bdb1
16 changed files with 472 additions and 16 deletions

View File

@@ -34,8 +34,11 @@ void Registry::addPrototype(Record* rec)
Record* Registry::getPrototype(const int opcode)
{
RecordProtoMap::iterator itr = _recordProtoMap.find(opcode);
if (itr != _recordProtoMap.end())
if (itr != _recordProtoMap.end()) {
return (*itr).second.get();
}
osg::notify( osg::WARN )
<< "flt::Registry::addPrototype: Unkown opcode: " << opcode << "\n";
return NULL;