shithub: cstory

Download patch

ref: ce34eea2dc1822d0fe4e6b0e1cff5d23f64bd1bf
parent: 8056f42e9cbb0f7fab4db4344eb68a3b0c69e2d6
author: Clownacy <[email protected]>
date: Sun Jan 27 06:32:48 EST 2019

Change how gpNpcFuncTable is done

The '&'s are pointless

--- a/src/NpcTbl.cpp
+++ b/src/NpcTbl.cpp
@@ -56,13 +56,13 @@
 //Npc function table
 NPCFUNCTION gpNpcFuncTbl[] =
 {
-	&ActNpc000,
-	&ActNpc001,
-	&ActNpc002,
-	&ActNpc003,
-	&ActNpc004,
-	&ActNpc005,
-	&ActNpc006,
+	ActNpc000,
+	ActNpc001,
+	ActNpc002,
+	ActNpc003,
+	ActNpc004,
+	ActNpc005,
+	ActNpc006,
 	nullptr,
 	nullptr,
 	nullptr,
@@ -72,8 +72,8 @@
 	nullptr,
 	nullptr,
 	nullptr,
-	&ActNpc016,
-	&ActNpc017,
+	ActNpc016,
+	ActNpc017,
 	nullptr,
 	nullptr,
 	nullptr,