minor code fix under debug defined (seems that someone replaced all instances of bLevel with pathing.bLevel, but the structure path_s doesn't have this)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9094 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Shadooow
2021-06-21 10:53:30 +00:00
parent 9f0033dac8
commit 0101ed3c58
+3 -3
View File
@@ -4096,7 +4096,7 @@ if(!GridNoOnVisibleWorldTile(iDestination))
iLoop = 0;
while( pCurr )
{
sprintf( zTS, "\t%d", pCurr->pathing.bLevel );
sprintf( zTS, "\t%d", pCurr->bLevel );
strcat( zTempString, zTS );
pCurr = pCurr->pNext[0];
iLoop++;
@@ -4108,12 +4108,12 @@ if(!GridNoOnVisibleWorldTile(iDestination))
DebugMsg( TOPIC_JA2, DBG_LEVEL_3, zTempString );
zTempString[0] = '\0';
bTemp = pQueueHead->pathing.bLevel;
bTemp = pQueueHead->bLevel;
pCurr = pQueueHead;
iLoop = 0;
while( pCurr )
{
bTemp = pQueueHead->pathing.bLevel;
bTemp = pQueueHead->bLevel;
while ( pCurr->pNext[ bTemp - 1 ] == NULL )
{
bTemp--;