mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Fix some issues detected by Sonar & code review, fix build
This commit is contained in:
16
lib/CStack.h
16
lib/CStack.h
@@ -108,22 +108,6 @@ public:
|
||||
h & slot;
|
||||
h & side;
|
||||
h & initialPosition;
|
||||
|
||||
// const CArmedInstance * army = (base ? base->armyObj : nullptr);
|
||||
// SlotID extSlot = (base ? base->armyObj->findStack(base) : SlotID());
|
||||
//
|
||||
// if(h.saving)
|
||||
// {
|
||||
// h & army;
|
||||
// h & extSlot;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// h & army;
|
||||
// h & extSlot;
|
||||
//
|
||||
// postDeserialize(army, extSlot);
|
||||
// }
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user