Fix the args in Tag_FindLineSpecial() being swapped.

This commit is contained in:
Nev3r 2020-04-15 09:32:19 +02:00
parent 439fde3434
commit 2d9b0e4906
2 changed files with 2 additions and 2 deletions

View file

@ -112,7 +112,7 @@ INT32 Tag_Iterate_Things (const INT16 tag, const size_t p)
return -1;
}
INT32 Tag_FindLineSpecial(const INT16 tag, const INT16 special)
INT32 Tag_FindLineSpecial(const INT16 special, const INT16 tag)
{
TAG_ITER_C
INT32 i;

View file

@ -32,7 +32,7 @@ INT32 Tag_Iterate_Sectors (const INT16 tag, const size_t p);
INT32 Tag_Iterate_Lines (const INT16 tag, const size_t p);
INT32 Tag_Iterate_Things (const INT16 tag, const size_t p);
INT32 Tag_FindLineSpecial(const INT16 tag, const INT16 special);
INT32 Tag_FindLineSpecial(const INT16 special, const INT16 tag);
#define TAG_ITER_C size_t kkkk;
#define TAG_ITER(fn, tag, id) for(kkkk = 0; (id = fn(tag, kkkk)) >= 0; kkkk++)