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 | d09727602275a2afac5e2524f43c391a7f48dc69 (patch) | |
tree | aa7931bd1701c352491660869d4ec0160a085f10 /src | |
parent | b9bbcfcb9b30f570bec296a798ac5b1d446a5a3c (diff) | |
download | openttd-d09727602275a2afac5e2524f43c391a7f48dc69.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(); |