summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-09 02:35:12 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-09 02:35:12 +0300
commit6de2ea2444ea0f89ff55a52737bf04bce4cb669f (patch)
treebed4be9211a35424642036ccbbf6e5138386b1e3 /src
parent5be3014e1b10619e43e04751dd825e245229403f (diff)
downloadplus-6de2ea2444ea0f89ff55a52737bf04bce4cb669f.tar.gz
plus-6de2ea2444ea0f89ff55a52737bf04bce4cb669f.tar.bz2
plus-6de2ea2444ea0f89ff55a52737bf04bce4cb669f.tar.xz
plus-6de2ea2444ea0f89ff55a52737bf04bce4cb669f.zip
Remove useless check from inventoryitem.h.
Diffstat (limited to 'src')
-rw-r--r--src/net/ea/inventoryitem.h2
1 files changed, 0 insertions, 2 deletions
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];
}