From 6de2ea2444ea0f89ff55a52737bf04bce4cb669f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 9 May 2017 02:35:12 +0300 Subject: Remove useless check from inventoryitem.h. --- src/net/ea/inventoryitem.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/net') diff --git a/src/net/ea/inventoryitem.h b/src/net/ea/inventoryitem.h index 193500d60..3b2799b62 100644 --- a/src/net/ea/inventoryitem.h +++ b/src/net/ea/inventoryitem.h @@ -106,8 +106,6 @@ class InventoryItem final favorite(c.favorite), equip(c.equip) { - if (!c.cards) - return; for (int f = 0; f < 4; f ++) cards[f] = c.cards[f]; } -- cgit v1.2.3-70-g09d2