diff options
author | smatz <smatz@openttd.org> | 2009-12-25 23:22:41 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-12-25 23:22:41 +0000 |
commit | 9cefcdab827b5bc6a3931054b5d1758193ebe600 (patch) | |
tree | c257c5ccc20edb90a335c70a5471617f2a81f373 /src/texteff.hpp | |
parent | e6d6704f32ee5cd7179a75d4808a72e9c2ea9622 (diff) | |
download | openttd-9cefcdab827b5bc6a3931054b5d1758193ebe600.tar.xz |
(svn r18636) -Codechange: make TextEffect::duration a value in ticks instead of ticks * 8
Diffstat (limited to 'src/texteff.hpp')
-rw-r--r-- | src/texteff.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/texteff.hpp b/src/texteff.hpp index bd3068bbe..4d6b9a286 100644 --- a/src/texteff.hpp +++ b/src/texteff.hpp @@ -27,7 +27,7 @@ enum TextEffectMode { typedef uint16 TextEffectID; void MoveAllTextEffects(); -TextEffectID AddTextEffect(StringID msg, int x, int y, uint16 duration, TextEffectMode mode); +TextEffectID AddTextEffect(StringID msg, int x, int y, uint8 duration, TextEffectMode mode); void InitTextEffects(); void DrawTextEffects(DrawPixelInfo *dpi); void UpdateTextEffect(TextEffectID effect_id, StringID msg); |