diff --git a/rogueviz/presentation.cpp b/rogueviz/presentation.cpp index 93ac37c0..7923ceb6 100644 --- a/rogueviz/presentation.cpp +++ b/rogueviz/presentation.cpp @@ -383,9 +383,7 @@ void read_all(int fd, void *buf, int cnt) { /* note: this loads the whole animation uncompressed into memory, so it is suitable only for short presentations */ void show_animation(presmode mode, string s, int sx, int sy, int frames, int fps) { #if CAP_VIDEO - if(mode == pmStartAll || mode == pmStart) { - /* load only once */ - if(textures.count(s + "@0")) return; + if(mode == pmStartAll || mode == pmStart) if(!textures.count(s + "@0")) { /* actually load */ array tab; if(pipe(&tab[0])) {