From: <ma...@us...> - 2015-03-17 22:28:38
|
Revision: 7513 http://sourceforge.net/p/exult/code/7513 Author: marzojr Date: 2015-03-17 22:28:30 +0000 (Tue, 17 Mar 2015) Log Message: ----------- * objs/animate.cc, shapes/shapeinf/aniinf.cc: Fixed bug #1909 "[BG] Minoc sawmill messed up". Modified Paths: -------------- exult/trunk/ChangeLog exult/trunk/objs/animate.cc exult/trunk/shapes/shapeinf/aniinf.cc Modified: exult/trunk/ChangeLog =================================================================== --- exult/trunk/ChangeLog 2015-01-27 21:14:18 UTC (rev 7512) +++ exult/trunk/ChangeLog 2015-03-17 22:28:30 UTC (rev 7513) @@ -1,3 +1,7 @@ +2015-03-17 Marzo Sette Torres Junior <ma...@ya...> + * objs/animate.cc, shapes/shapeinf/aniinf.cc: Fixed bug #1909 "[BG] Minoc + sawmill messed up". + 2015-01-27 Malignant Manor <mal...@us...> objs/egg.cc: Remove r7474 changes to Weather eggs due to crash on exit and the fact that it didn't do a good job of fixing the bug bug #1865. Modified: exult/trunk/objs/animate.cc =================================================================== --- exult/trunk/objs/animate.cc 2015-01-27 21:14:18 UTC (rev 7512) +++ exult/trunk/objs/animate.cc 2015-03-17 22:28:30 UTC (rev 7513) @@ -357,7 +357,7 @@ if (aniinf->get_type() == Animation_info::FA_TIMESYNCHED) created = currpos = last_frame % nframes; else - created = currpos = 0; + created = currpos = last_frame - first_frame; // Add rotate flag back. first_frame |= rotflag; last_frame |= rotflag; Modified: exult/trunk/shapes/shapeinf/aniinf.cc =================================================================== --- exult/trunk/shapes/shapeinf/aniinf.cc 2015-01-27 21:14:18 UTC (rev 7512) +++ exult/trunk/shapes/shapeinf/aniinf.cc 2015-03-17 22:28:30 UTC (rev 7513) @@ -85,7 +85,7 @@ inf->set(FA_LOOPING, nframes, 6); break; case 11: - inf->set(FA_LOOPING, nframes, 1, 0); + inf->set(FA_LOOPING, nframes, nframes-1, 0); break; case 12: // Slow advance. case 14: // Grandfather clock. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |