♻️Apply point positioning to all remaning entities
This commit is contained in:
parent
d096a85803
commit
2bd13451a1
43 changed files with 1286 additions and 1375 deletions
|
|
@ -87,7 +87,7 @@ int ObjIndex(int x, int y)
|
|||
|
||||
for (i = 0; i < nobjects; i++) {
|
||||
oi = objectactive[i];
|
||||
if (object[oi]._ox == x && object[oi]._oy == y)
|
||||
if (object[oi].position.x == x && object[oi].position.y == y)
|
||||
return oi;
|
||||
}
|
||||
app_fatal("ObjIndex: Active object not found at (%d,%d)", x, y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue