fixed the outgoing transitions to not delay needlessly when there is no stop function.
[dosdemo] / src / screen.c
index 54cd3e2..927903b 100644 (file)
@@ -117,11 +117,8 @@ int scr_change(struct screen *s, long trans_time)
                trans_dur = 0;
        }
 
-       if(cur) {
-               if(cur->stop) {
-                       cur->stop(trans_dur);
-               }
-
+       if(cur && cur->stop) {
+               cur->stop(trans_dur);
                prev = cur;
                next = s;
        } else {