From 4df1e68047488ec00a264c076bb3222715f42295 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 10 Mar 2017 16:40:52 +0300 Subject: Fix new style issue detected by mplint. new class() -> new class --- src/being/playerinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being/playerinfo.cpp') diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp index 14cc909df..25620d5ba 100644 --- a/src/being/playerinfo.cpp +++ b/src/being/playerinfo.cpp @@ -464,7 +464,7 @@ void stateChange(const StateT state) if (!mInventory) { mInventory = new Inventory(InventoryType::Inventory); - mEquipment = new Equipment(); + mEquipment = new Equipment; mCartInventory = new Inventory(InventoryType::Cart); } } -- cgit v1.2.3-60-g2f50