diff options
Diffstat (limited to 'src/net/ea/inventoryitem.h')
-rw-r--r-- | src/net/ea/inventoryitem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/ea/inventoryitem.h b/src/net/ea/inventoryitem.h index dd6f64b10..b318b2f23 100644 --- a/src/net/ea/inventoryitem.h +++ b/src/net/ea/inventoryitem.h @@ -79,6 +79,8 @@ class InventoryItem final favorite(favorite0), equip(equip0) { + if (!cards0) + return; for (int f = 0; f < 4; f ++) cards[f] = cards0[f]; } |