Mercurial > hg > openttd
comparison src/roadveh_cmd.cpp @ 7334:e9bc6de8292f draft
(svn r10697) -Codechange: give a more sensible names to some of the unkX variables.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Thu, 26 Jul 2007 15:37:19 +0000 |
parents | 6abfcd440cdc |
children | fba35a9abf79 |
comparison
equal
deleted
inserted
replaced
7333:7110c41ab174 | 7334:e9bc6de8292f |
---|---|
735 SND_0F_VEHICLE_BREAKDOWN : SND_35_COMEDY_BREAKDOWN, v); | 735 SND_0F_VEHICLE_BREAKDOWN : SND_35_COMEDY_BREAKDOWN, v); |
736 } | 736 } |
737 | 737 |
738 if (!(v->vehstatus & VS_HIDDEN)) { | 738 if (!(v->vehstatus & VS_HIDDEN)) { |
739 Vehicle *u = CreateEffectVehicleRel(v, 4, 4, 5, EV_BREAKDOWN_SMOKE); | 739 Vehicle *u = CreateEffectVehicleRel(v, 4, 4, 5, EV_BREAKDOWN_SMOKE); |
740 if (u != NULL) u->u.special.unk0 = v->breakdown_delay * 2; | 740 if (u != NULL) u->u.special.animation_state = v->breakdown_delay * 2; |
741 } | 741 } |
742 } | 742 } |
743 | 743 |
744 if ((v->tick_counter & 1) == 0) { | 744 if ((v->tick_counter & 1) == 0) { |
745 if (--v->breakdown_delay == 0) { | 745 if (--v->breakdown_delay == 0) { |