shithub: cstory

Download patch

ref: e1b5d525c4bd9c8e81bc87b819f3085308540a61
parent: f32b4b392f86349fa7573b42487a184a0d9374cb
author: Clownacy <[email protected]>
date: Sun Feb 3 12:38:08 EST 2019

Missile Launcher part 3

--- a/src/Bullet.cpp
+++ b/src/Bullet.cpp
@@ -571,9 +571,9 @@
 						break;
 				}
 
-				unsigned int inc;
+				static unsigned int inc;
 				
-				switch (++inc % 3u)
+				switch (++inc % 3)
 				{
 					case 0:
 						bul->ani_no = 0x80;