src/station.cpp
changeset 7010 6f0d9f03180d
parent 6823 1f2075619543
child 7376 066596e64cd5
equal deleted inserted replaced
7009:9992ccf17e58 7010:6f0d9f03180d
    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();