From a5c85f0cbecfd8c4a14baaef91a086fb2ec5490e Mon Sep 17 00:00:00 2001 From: ZedThree Date: Thu, 1 May 2014 14:12:30 +0200 Subject: [PATCH] Fix comments --- src/news_item.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/news_item.c b/src/news_item.c index 0ddf9aa137..f09f7f19c8 100644 --- a/src/news_item.c +++ b/src/news_item.c @@ -217,9 +217,9 @@ void news_item_get_subject_location(int type, int subject, int *x, int *y, int * break; } - // Find the train peep is on + // Find the first car of the train peep is on car = &(RCT2_ADDRESS(RCT2_ADDRESS_SPRITE_LIST, rct_sprite)[ride->train_car_map[peep->current_train]]); - // Find the car peep is on + // Find the actual car peep is on for (i = 0; i < peep->current_car; i++) car = &(RCT2_ADDRESS(RCT2_ADDRESS_SPRITE_LIST, rct_sprite)[car->next_car]); *x = car->x;