shithub: cstory

Download patch

ref: f840be28c71e6605e3ec197a120f1b1aa45b3497
parent: 17f7f66fc9531e5e31f4886003ed014579c60231
author: Gabriel Ravier <gabravier@gmail.com>
date: Tue Nov 5 03:19:07 EST 2019

Added better comment for random self-assign in Fade.cpp

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

--- a/src/Fade.cpp
+++ b/src/Fade.cpp
@@ -76,7 +76,7 @@
 		}
 	}
 
-	x = x;	// What
+	x = x;	// x is assigned to itself. Thanks, Pixel. (Most likely, the original code wasn't written the exact same way)
 }
 
 void ProcFade()
--- a/src/Organya.cpp
+++ b/src/Organya.cpp
@@ -521,7 +521,7 @@
 		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 = 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)
 		}
 	}