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 | 245bc59c68eade21a03532f1b13282a7f1c70760 (patch) | |
tree | aa73a883c0d42c545d83ce08a772b6fd0c44ed72 | |
parent | 97865f03f6a00b87d623f02188d4a9339963c29a (diff) | |
download | openttd-245bc59c68eade21a03532f1b13282a7f1c70760.tar.xz |
(svn r1196) -Fix: Preview Vehicle had a small glitch. Fixed now.
-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++; |