src/station.cpp
changeset 7506 e52d89f5c7c1
parent 7319 f884be171f04
child 7872 a0646ade9d4a
child 9694 e72987579514
equal deleted inserted replaced
7505:94a7391e0377 7506:e52d89f5c7c1
    77 	/* Subsidies need removal as well */
    77 	/* Subsidies need removal as well */
    78 	DeleteSubsidyWithStation(index);
    78 	DeleteSubsidyWithStation(index);
    79 
    79 
    80 	free(speclist);
    80 	free(speclist);
    81 	xy = 0;
    81 	xy = 0;
       
    82 
       
    83 	for (CargoID c = 0; c < NUM_CARGO; c++) {
       
    84 		goods[c].cargo.Truncate(0);
       
    85 	}
    82 }
    86 }
    83 
    87 
    84 void* Station::operator new(size_t size)
    88 void* Station::operator new(size_t size)
    85 {
    89 {
    86 	Station *st = AllocateRaw();
    90 	Station *st = AllocateRaw();