Merge branch 'master' into kimkulling-patch-2-1

This commit is contained in:
Kim Kulling
2018-11-20 20:15:44 +01:00
committed by GitHub
2 changed files with 4 additions and 20 deletions
+2 -1
View File
@@ -413,8 +413,9 @@ void MDLImporter::InternReadFile_Quake1() {
#if 1
// FIXME: the cast is wrong and cause a warning on clang 5.0
// disable thi code for now, fix it later
// disable this code for now, fix it later
ai_assert(false && "Bad pointer cast");
pcFirstFrame = nullptr; // Workaround: msvc++ C4703 error
#else
BE_NCONST MDL::GroupFrame* pcFrames2 = (BE_NCONST MDL::GroupFrame*)pcFrames;
pcFirstFrame = (BE_NCONST MDL::SimpleFrame*)(&pcFrames2->time + pcFrames->type);