author | richk |
Tue, 17 Jun 2008 10:32:49 +0000 | |
branch | NewGRF_ports |
changeset 10991 | d8811e327d12 |
parent 6856 | 0e8e4ebf23ff |
permissions | -rw-r--r-- |
/* $Id$ */ /** @file airport.cpp */ #include "stdafx.h" #include "openttd.h" #include "fsmport.h" FSMPortClass::~FSMPortClass() { for (uint i = 0; i < num_positions; i++) { FSMCommand *current = layout[i].next; while (current != NULL) { FSMCommand *next = current->next; free(current); current = next; }; } free(layout); }