More string migration

FossilOrigin-Name: 245efe8045462b8ece957f5bed9f5543ec761f4506353d571186a7efb469b878
This commit is contained in:
Jonathan Schleifer 2025-03-08 00:58:32 +00:00
parent 745514762e
commit 7ab817d420
3 changed files with 26 additions and 29 deletions

View file

@ -121,13 +121,11 @@ playerincrosshair()
dynent *o = players[i];
if (!o)
continue;
if (intersect(o, player1->o, worldpos)) {
@autoreleasepool {
return @(o->name);
}
}
if (intersect(o, player1->o, worldpos))
return @(o->name);
}
return NULL;
return nil;
}
const int MAXPROJ = 100;