Skip to content

Commit abf7ddb

Browse files
committed
Tweaked comment.
1 parent d0cee67 commit abf7ddb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Core/GameEngine/Source/GameLogic/AI/AIPathfind.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4163,8 +4163,8 @@ void Pathfinder::classifyFence( Object *obj, Bool insert )
41634163
#if RETAIL_COMPATIBLE_CRC
41644164
//CRCDEBUG_LOG(("Pathfinder::classifyFence - (%d,%d)", cellBounds.hi.x, cellBounds.hi.y));
41654165

4166-
// In retail, the values in the stack often look like this. We set them
4167-
// to reduce the likelihood of mismatch.
4166+
// In retail the values on the stack are often either 0 or larger than the map size.
4167+
// We initialize them to reduce the likelihood of a mismatch.
41684168
if (m_classifyFenceZeroInit)
41694169
{
41704170
cellBounds.hi.x = 0;

0 commit comments

Comments
 (0)