mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 01:09:34 +00:00
Merge with develop
This commit is contained in:
parent
861a9b399a
commit
5acd03d77d
2 changed files with 4 additions and 2 deletions
|
@ -1421,7 +1421,7 @@ void CPrimitiveWorldImage::setGlobalPosition (const UGlobalPosition& pos, CMoveC
|
|||
void CPrimitiveWorldImage::setGlobalPosition (const NLMISC::CVectorD& pos, CMoveContainer& container, CMovePrimitive &primitive, uint8 worldImage, bool keepZ /*= false*/, UGlobalPosition::TType type /* =UGlobalPosition::Unspecified*/)
|
||||
{
|
||||
// Cast type
|
||||
nlassert (dynamic_cast<const CMoveContainer*>(&container));
|
||||
nlassert (dynamic_cast<const CMoveContainer*>(&container) != NULL);
|
||||
const CMoveContainer *cont=(const CMoveContainer*)&container;
|
||||
|
||||
// Get the retriever
|
||||
|
|
|
@ -164,7 +164,9 @@ void readFormId( string& outputFileName )
|
|||
map<string,uint8>::iterator itFT = FileTypeToId.find(fileType);
|
||||
if( itFT == FileTypeToId.end() )
|
||||
{
|
||||
FileTypeToId.insert( std::pair<std::string, uint8>(fileType,fid.FormIDInfos.Type) );
|
||||
uint8 type = (uint8)fid.FormIDInfos.Type;
|
||||
|
||||
FileTypeToId.insert( std::pair<std::string, uint8>(fileType, type) );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue