UpdateFieldObjectsForCameraUpdate
This commit is contained in:
1 parent
d8e2238086
commit
5a5ea8c740
2 files changed
+7
-24
No files matched your search
@@ -1329,3 +1329,10 @@ static bool8 FieldObjectDoesZCoordMatch(struct MapObject *mapObject, u8 z)
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void UpdateFieldObjectsForCameraUpdate(s16 x, s16 y)
|
||||
{
|
||||
UpdateFieldObjectCoordsForCameraUpdate();
|
||||
SpawnFieldObjectsInView(x, y);
|
||||
RemoveFieldObjectsOutsideView();
|
||||
}
|
||||
Reference in new issue
Block a user