aboutsummaryrefslogtreecommitdiff
path: root/src/info.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-06-12 04:16:16 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-06-12 04:17:13 -0300
commit7d298e5a4119df0910daa070af1d23567a83e90c (patch)
tree93bd46dec5b74186db806d61b66c2115065224fc /src/info.cc
parent05ec30b99472e8c17cd33c29d0e7859e02dc9fc8 (diff)
downloadgame-7d298e5a4119df0910daa070af1d23567a83e90c.tar.gz
game-7d298e5a4119df0910daa070af1d23567a83e90c.zip
more work on `operate.cc`
Diffstat (limited to 'src/info.cc')
-rw-r--r--src/info.cc4
1 files changed, 2 insertions, 2 deletions
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){