/*
* 2ooM: The Master of Orion II Reverse Engineering Project
* Graphical tool for inspecting LBX archives.
- * Copyright (C) 2010 Nick Bowler
+ * Copyright (C) 2010, 2014 Nick Bowler
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
elapsed -= seconds_per_frame;
if (++newframe >= image->frames) {
- if (!info.looping) {
+ if (image->leadin == image->frames - 1) {
gtk_toggle_button_set_active(play, FALSE);
break;
}
- newframe = info.loopstart;
+ newframe = image->leadin;
}
}