diff options
author | truelight <truelight@openttd.org> | 2004-12-21 14:42:06 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-21 14:42:06 +0000 |
commit | f1ce786bab77bc602da41c0ec131d379b892332d (patch) | |
tree | aa73a883c0d42c545d83ce08a772b6fd0c44ed72 /engine.c | |
parent | 93f29c16c37b2fcc6f960232c58fdde714edc382 (diff) | |
download | openttd-f1ce786bab77bc602da41c0ec131d379b892332d.tar.xz |
(svn r1196) -Fix: Preview Vehicle had a small glitch. Fixed now.
Diffstat (limited to 'engine.c')
-rw-r--r-- | engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -638,7 +638,7 @@ void EnginesDailyLoop() for(e=_engines,i=0; i!=TOTAL_NUM_ENGINES; e++,i++) { if (e->flags & ENGINE_INTRODUCING) { if (e->flags & ENGINE_PREVIEWING) { - if (!--e->preview_wait) { + if (e->preview_player != 0xFF && !--e->preview_wait) { e->flags &= ~ENGINE_PREVIEWING; DeleteWindowById(WC_ENGINE_PREVIEW, i); e->preview_player++; |