shithub: cstory

Download patch

ref: eab0523c7c872494e73490eafcc41adeab9a8ffb
parent: 59e3f973e573df90b73b34e6f8cd3f42c670808c
author: Clownacy <[email protected]>
date: Fri Feb 1 15:04:48 EST 2019

Cleanup

--- a/src/NpcAct000.cpp
+++ b/src/NpcAct000.cpp
@@ -1385,13 +1385,6 @@
 //Santa's Key
 void ActNpc014(NPCHAR *npc)
 {
-	int v2; // ST0C_4@5
-	int v3; // ST08_4@5
-	int v4; // eax@5
-	RECT *v5; // eax@12
-	RECT *v6; // ecx@12
-	signed int i; // [sp+4h] [bp-34h]@3
-
 	RECT rect[3];
 
 	rect[0] = {192, 0, 208, 16};
@@ -1406,7 +1399,7 @@
 		{
 			npc->ym = -0x200;
 
-			for (i = 0; i < 4; ++i)
+			for (int i = 0; i < 4; ++i)
 				SetNpChar(4, npc->x + (Random(-12, 12) * 0x200), npc->y + (Random(-12, 12) * 0x200), Random(-341, 341), Random(-0x600, 0), 0, 0, 0x100);
 		}
 	}