Mercurial > hg > openttd
comparison src/ship_cmd.cpp @ 10123:57aa34285d05 draft
(svn r14307) -Fix: when deleting a station, remove news items regarding it
author | smatz <smatz@openttd.org> |
---|---|
date | Sat, 13 Sep 2008 10:19:51 +0000 |
parents | 7867701f63e4 |
children | fbd1b77a2509 |
comparison
equal
deleted
inserted
replaced
10122:dff578338ffb | 10123:57aa34285d05 |
---|---|
349 SetDParam(0, st->index); | 349 SetDParam(0, st->index); |
350 AddNewsItem( | 350 AddNewsItem( |
351 STR_9833_CITIZENS_CELEBRATE_FIRST, | 351 STR_9833_CITIZENS_CELEBRATE_FIRST, |
352 (v->owner == _local_player) ? NS_ARRIVAL_PLAYER : NS_ARRIVAL_OTHER, | 352 (v->owner == _local_player) ? NS_ARRIVAL_PLAYER : NS_ARRIVAL_OTHER, |
353 v->index, | 353 v->index, |
354 0); | 354 st->index |
355 ); | |
355 } | 356 } |
356 } | 357 } |
357 | 358 |
358 struct PathFindShip { | 359 struct PathFindShip { |
359 TileIndex skiptile; | 360 TileIndex skiptile; |