Add comment

This commit is contained in:
Vasilii Rogin 2023-03-14 19:53:17 +02:00
parent e6f6ba5c8b
commit 9b72a021a2
1 changed files with 6 additions and 0 deletions

View File

@ -109,6 +109,10 @@ static int _centerToUpperLeft = 0;
static int gObjectFindElevation = 0;
// 0x519634
/**
* This variable holds "tile where to lookup when current list ends".
*
*/
static int gObjectFindTile = 0;
// 0x519638
@ -2247,6 +2251,8 @@ Object* objectFindNextAtElevation()
Object* objectFindFirstAtLocation(int elevation, int tile)
{
gObjectFindElevation = elevation;
// Meaningless assignment because it is not used in objectFindNextAtLocation
gObjectFindTile = tile;
ObjectListNode* objectListNode = gObjectListHeadByTile[tile];