author | rubidium |
Tue, 21 Aug 2007 09:02:06 +0000 | |
branch | NewGRF_ports |
changeset 6853 | b3b8bb6c0a48 |
child 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 < nof_elements; i++) { FSMState *current = layout[i].next; while (current != NULL) { FSMState *next = current->next; free(current); current = next; }; } free(layout); }