fixed animns in zapcockpit

This commit is contained in:
louis 2016-10-03 15:48:09 +02:00
parent 2378bc8c4e
commit f6c11ce9ea
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ void cViewChannel::SetChannelHint(const cChannel *channel) {
void cViewChannel::Close(void) {
bool doAnim = true;
#ifdef USE_ZAPCOCKPIT
if (viewType != dcDefault)
if (viewType != dcDefault || viewTypeLast != dcDefault)
doAnim = false;
#endif
if (doAnim) {