diff options
author | smatz <smatz@openttd.org> | 2008-08-04 14:40:50 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-08-04 14:40:50 +0000 |
commit | 8fba4705f001343f3ab9bebd52d90cb2d7796ca4 (patch) | |
tree | aa7931bd1701c352491660869d4ec0160a085f10 /src | |
parent | 0f109390299073f805846675a9be1fd710f8644f (diff) | |
download | openttd-8fba4705f001343f3ab9bebd52d90cb2d7796ca4.tar.xz |
(svn r13991) -Codechange: draw text effects after all other signs
Diffstat (limited to 'src')
-rw-r--r-- | src/viewport.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp index d6ab2eef9..552ccf177 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -1471,13 +1471,14 @@ void ViewportDoDraw(const ViewPort *vp, int left, int top, int right, int bottom ViewportAddLandscape(); ViewportAddVehicles(&_vd.dpi); - DrawTextEffects(&_vd.dpi); ViewportAddTownNames(&_vd.dpi); ViewportAddStationNames(&_vd.dpi); ViewportAddSigns(&_vd.dpi); ViewportAddWaypoints(&_vd.dpi); + DrawTextEffects(&_vd.dpi); + if (_vd.tile_sprites_to_draw.Length() != 0) ViewportDrawTileSprites(&_vd.tile_sprites_to_draw); ParentSpriteToDraw *psd_end = _vd.parent_sprites_to_draw.End(); |