ref: 1b0a8e56db9c1f389ef22f3d78171d773f49617b
parent: e1cd4cf8d8be8381fdb2b6c930e4d25f3b8d0ddc
author: cuckydev <[email protected]>
date: Thu Feb 14 18:21:23 EST 2019
accurater?
--- 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;