--- a/src/network/core/udp.cpp Sat Oct 06 21:16:00 2007 +0000
+++ b/src/network/core/udp.cpp Mon Dec 03 23:39:38 2007 +0000
@@ -160,13 +160,13 @@
/* Count number of GRFs to send information about */
for (c = info->grfconfig; c != NULL; c = c->next) {
- if (!HASBIT(c->flags, GCF_STATIC)) count++;
+ if (!HasBit(c->flags, GCF_STATIC)) count++;
}
p->Send_uint8 (count); // Send number of GRFs
/* Send actual GRF Identifications */
for (c = info->grfconfig; c != NULL; c = c->next) {
- if (!HASBIT(c->flags, GCF_STATIC)) this->Send_GRFIdentifier(p, c);
+ if (!HasBit(c->flags, GCF_STATIC)) this->Send_GRFIdentifier(p, c);
}
}
@@ -230,8 +230,8 @@
}
} /* Fallthrough */
case 3:
- info->game_date = clamp(p->Recv_uint32(), 0, MAX_DATE);
- info->start_date = clamp(p->Recv_uint32(), 0, MAX_DATE);
+ info->game_date = Clamp(p->Recv_uint32(), 0, MAX_DATE);
+ info->start_date = Clamp(p->Recv_uint32(), 0, MAX_DATE);
/* Fallthrough */
case 2:
info->companies_max = p->Recv_uint8 ();