shithub: cstory

Download patch

ref: 3f6c744e16aa1460efa9f57e1e9e2f05973ddcff
parent: ba8f2138b8c19a91dd275a38c98e4c116c4eac62
author: Gabriel Ravier <gabravier@gmail.com>
date: Mon Sep 23 15:57:00 EDT 2019

Re-added accidentally removed statement

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

--- a/src/ArmsItem.cpp
+++ b/src/ArmsItem.cpp
@@ -51,6 +51,8 @@
 
 		if (gArmsData[i].code == 0)
 			break; // Found free slot
+
+		++i;
 	}
 
 	if (i == ARMS_MAX)