Skip to content

Commit

Permalink
Fix #5789
Browse files Browse the repository at this point in the history
  • Loading branch information
ashdnazg committed Sep 28, 2017
1 parent 4c87e94 commit f68d055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Sim/MoveTypes/MoveMath/MoveMath.cpp
Expand Up @@ -135,7 +135,7 @@ CMoveMath::BlockType CMoveMath::IsBlockedNoSpeedModCheck(const MoveDef& moveDef,

CMoveMath::BlockType CMoveMath::IsBlockedNoSpeedModCheckThreadUnsafe(const MoveDef& moveDef, int xSquare, int zSquare, const CSolidObject* collider)
{
assert(Threading::IsMainThread());
assert(Threading::IsMainThread() || Threading::IsGameLoadThread());
return RangeIsBlocked(moveDef, xSquare - moveDef.xsizeh, xSquare + moveDef.xsizeh, zSquare - moveDef.zsizeh, zSquare + moveDef.zsizeh, collider);
}

Expand Down

0 comments on commit f68d055

Please sign in to comment.