Cleanup: remove the old FIO slot functions

(cherry picked from commit fa6abe1646)
This commit is contained in:
Rubidium
2021-04-21 18:40:37 +02:00
committed by Jonathan G Rennison
parent eecf7c8525
commit e227bbaff0
9 changed files with 17 additions and 160 deletions

View File

@@ -422,7 +422,7 @@ void NetworkUDPSocketHandler::ReceiveNetworkGameInfoExtended(Packet *p, NetworkG
uint num_grfs = p->Recv_uint32();
/* Broken/bad data. It cannot have that many NewGRFs. */
if (num_grfs > MAX_NEWGRFS) return;
if (num_grfs > MAX_NON_STATIC_GRF_COUNT) return;
for (i = 0; i < num_grfs; i++) {
GRFConfig *c = new GRFConfig();