Rename INBOUNDS() macro to INBOUNDS_VEC()

Since there's an INBOUNDS_ARR() macro, it's much better to specify the
macro for the vector is a macro for the vector, to avoid confusion.

All usages of this macro have been renamed accordingly.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-09-25 13:51:47 -04:00
1 parent fae14f4e98
commit 7ed495c373
6 files changed
+46 -46

No files matched your search

+1 -1
View File
@@ -889,7 +889,7 @@ void mapclass::warpto(int rx, int ry , int t, int tx, int ty)
{
gotoroom(rx, ry);
game.teleport = false;
if (INBOUNDS(t, obj.entities))
if (INBOUNDS_VEC(t, obj.entities))
{
obj.entities[t].xp = tx * 8;
obj.entities[t].yp = (ty * 8) - obj.entities[t].h;