changeset 979 | f12f96116cdd |
parent 926 | bd4312619522 |
child 981 | 25c7b445dcb8 |
--- a/viewport.c Mon Jan 10 21:56:02 2005 +0000 +++ b/viewport.c Mon Jan 10 22:14:35 2005 +0000 @@ -1186,7 +1186,7 @@ // This assert should never happen (because the length of the parent_list // is checked) - assert(vd.parent_list - parent_list <= lengthof(parent_list)); + assert(vd.parent_list <= endof(parent_list)); if (vd.first_tile != NULL) ViewportDrawTileSprites(vd.first_tile);