From 7d298e5a4119df0910daa070af1d23567a83e90c Mon Sep 17 00:00:00 2001 From: fusion32 Date: Thu, 12 Jun 2025 04:16:16 -0300 Subject: more work on `operate.cc` --- src/info.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/info.cc') diff --git a/src/info.cc b/src/info.cc index d15f470..3cdfe02 100644 --- a/src/info.cc +++ b/src/info.cc @@ -805,8 +805,8 @@ bool SearchFreeField(int *x, int *y, int *z, int Distance, uint16 HouseID, bool return false; } -// TODO(fusion): This is a helper function for `SearchLoginField`. Perhaps we -// should try to merge it there? +// NOTE(fusion): This is a helper function for `SearchLoginField` and improves +// the readability of an otherwise convoluted function. static bool LoginPossible(int x, int y, int z, uint16 HouseID, bool Player){ Object Obj = GetFirstObject(x, y, z); if(Obj == NONE){ -- cgit v1.2.3