diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-09 02:35:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-09 02:35:12 +0300 |
commit | 6de2ea2444ea0f89ff55a52737bf04bce4cb669f (patch) | |
tree | bed4be9211a35424642036ccbbf6e5138386b1e3 /src | |
parent | 5be3014e1b10619e43e04751dd825e245229403f (diff) | |
download | plus-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.h | 2 |
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]; } |