shithub: cstory

Download patch

ref: da18e8211d6ed6665ab90244c6e715596041b32e
parent: 0403f26f6638ec0701a3fba8fe1bb125cf9c41bd
parent: 1b0a8e56db9c1f389ef22f3d78171d773f49617b
author: Clownacy <Clownacy@users.noreply.github.com>
date: Fri Feb 15 15:52:48 EST 2019

Merge branch 'master' of https://github.com/cuckydev/Cave-Story-Engine-2

--- a/src/Main.cpp
+++ b/src/Main.cpp
@@ -97,7 +97,7 @@
 	
 	//Get path of the data folder
 	strcpy(gDataPath, gModulePath);
-	memcpy(&gDataPath[strlen(gDataPath)], "/data", 6); //Pixel didn't use a strcat
+	strcat(gDataPath, "/data");
 
 #ifdef WINDOWS
 	// Set the window icons. See res/ICON/ICON.rc.
--- a/src/NpcAct300.cpp
+++ b/src/NpcAct300.cpp
@@ -152,6 +152,7 @@
 						break;
 					}
 				}
+				
 				if (i == 0x200)
 				{
 					npc->cond = 0;