shithub: cstory

Download patch

ref: a65c4bc1e3417f464f79890491aaf0952c6a9157
parent: ede9fa213d6807d6b72654c07fa8c48c2455c05d
author: Clownacy <Clownacy@users.noreply.github.com>
date: Wed Jan 22 20:34:55 EST 2020

Added bugfix to Organya

--- a/src/Organya.cpp
+++ b/src/Organya.cpp
@@ -514,7 +514,11 @@
 		for (i = 0; i < MAXMELODY; i++)
 		{
 			info.tdata[i].freq = mi->tdata[i].freq;
-			info.tdata[i].pipi = info.tdata[i].pipi;	// info.tdata[i].pipi is assigned to itself. Thanks, Pixel. (Most likely, the original code wasn't written the exact same way)
+		#ifdef FIX_BUGS
+			info.tdata[i].pipi = mi->tdata[i].pipi;
+		#else
+			info.tdata[i].pipi = info.tdata[i].pipi;	 // Just sets info.tdata[i].pipi to itself
+		#endif
 		}
 	}