~rebel/horde3d/trunk

« back to all changes in this revision

Viewing changes to trunk/Tools/Dependencies/RecastNavigation/RecastDemo/Source/InputGeom.cpp

  • Committer: felix
  • Date: 2015-07-07 12:57:07 UTC
  • Revision ID: svn-v4:5ce291ac-9df0-446f-9e4f-d57731c4dda7::1699
- Updated RecastNavigation to latest version and fixed multiple issues.
- Adapted GameDetourComponent, GameDetourCrowdComponent, DetourCrowdDemo and AAA accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
                fclose(fp);
175
175
                return false;
176
176
        }
177
 
        fread(buf, bufSize, 1, fp);
 
177
        size_t readLen = fread(buf, bufSize, 1, fp);
178
178
        fclose(fp);
 
179
        if (readLen != 1)
 
180
        {
 
181
                delete[] buf;
 
182
                return false;
 
183
        }
179
184
        
180
185
        m_offMeshConCount = 0;
181
186
        m_volumeCount = 0;