Skip to content

Commit

Permalink
Fixed|PathDirectory: Failed assertion during abnormal shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Oct 18, 2012
1 parent 2ff5fc1 commit ff00b65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doomsday/engine/portable/src/pathdirectory.cpp
Expand Up @@ -1097,8 +1097,9 @@ static int iteratePathsInHash(PathDirectory* pd,
ushort hash, PathDirectoryNodeType type, int flags, PathDirectoryNode* parent_,
int (*callback) (PathDirectoryNode* node, void* parameters), void* parameters)
{
int result = 0;
if(!pd) return 0;

int result = 0;
SELF(pd);

if(hash != PATHDIRECTORY_NOHASH && hash >= PATHDIRECTORY_PATHHASH_SIZE)
Expand Down

0 comments on commit ff00b65

Please sign in to comment.