Remove loop[ijkl]

They confused clang-format a lot.

FossilOrigin-Name: 6b85eefc857c74c00d7ef693e312cc15df53201a6712aee8ba8d57c643c1703b
This commit is contained in:
Jonathan Schleifer 2025-03-23 02:47:40 +00:00
parent 2c5f2d0342
commit 006dba8370
22 changed files with 318 additions and 257 deletions

View file

@ -213,8 +213,7 @@ addmsg(int rel, int num, int type, ...)
va_list marker;
va_start(marker, type);
loopi(num - 1)
{
for (int i = 0; i < num - 1; i++) {
int tmp = va_arg(marker, int);
[msg addItem:&tmp];
}
@ -345,8 +344,8 @@ c2sinfo(DynamicEntity *d)
// send messages collected during the previous frames
if (*(int *)[msg itemAtIndex:1])
packet->flags = ENET_PACKET_FLAG_RELIABLE;
loopi(*(int *)[msg itemAtIndex:0])
putint(&p, *(int *)[msg itemAtIndex:i + 2]);
for (int i = 0; i < *(int *)[msg itemAtIndex:0]; i++)
putint(&p, *(int *)[msg itemAtIndex:i + 2]);
}
[messages removeAllObjects];
if (lastmillis - lastping > 250) {