(svn r10897) [NewGRF_ports] -Cleanup: Removed superfluous comments. NewGRF_ports
authorrichk
Tue, 14 Aug 2007 21:30:05 +0000
branchNewGRF_ports
changeset 6817 ef4c1d63b69f
parent 6816 4b02007a9ed5
child 6818 8c977ca780fe
(svn r10897) [NewGRF_ports] -Cleanup: Removed superfluous comments.
src/newgrf.cpp
--- a/src/newgrf.cpp	Tue Aug 14 21:28:22 2007 +0000
+++ b/src/newgrf.cpp	Tue Aug 14 21:30:05 2007 +0000
@@ -2274,7 +2274,6 @@
 				fsmportspec->portFSM->size_y = fsmportspec->size_y[0];
 				for (byte element = 0; element < fsmportspec->portFSM->nofelements; element++)
 				{
-					//TODO: this will load into a totally new structure for the FSMport controller to handle generically
 					AirportMovingData md;
 					md.x = grf_load_word(&buf);
 					md.y = grf_load_word(&buf);
@@ -2386,9 +2385,7 @@
 					fsmportspec->layout_mask = ReallocT(fsmportspec->layout_mask, numlayouts);
 					for (uint set = 0; set < numlayouts; set++) {
 						byte orientation = grf_load_byte(&buf);
-						//byte x = fsmportspec->size_x[set];
-						//byte y = fsmportspec->size_y[set];
-						byte x = grf_load_byte(&buf);  //could use either, but it helps nforenum if x&y embedded here
+						byte x = grf_load_byte(&buf);
 						byte y = grf_load_byte(&buf);
 
 						FSMportsLayout layout;