Skip to content

Commit

Permalink
compiling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Paracel committed Jan 24, 2013
1 parent eadf16f commit f2d81c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/package/god.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1442,7 +1442,6 @@ GodPackage::GodPackage()
addMetaObject<ShenfenCard>();
addMetaObject<GreatYeyanCard>();
addMetaObject<SmallYeyanCard>();
addMetaObject<WushenSlash>();
addMetaObject<KuangfengCard>();
addMetaObject<DawuCard>();
addMetaObject<WuqianCard>();
Expand Down
3 changes: 1 addition & 2 deletions src/package/standard-cards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,6 @@ Halberd::Halberd(Suit suit, int number)
:Weapon(suit, number, 4)
{
setObjectName("Halberd");
skill = new HalberdSkill
}

class KylinBowSkill: public WeaponSkill{
Expand Down Expand Up @@ -1362,7 +1361,7 @@ StandardCardPackage::StandardCardPackage()
foreach(Card *card, cards)
card->setParent(this);

skills << new SpearSkill << new AxeViewAsSkill;
skills << new SpearSkill << new AxeViewAsSkill << new HalberdSkill;
}

StandardExCardPackage::StandardExCardPackage()
Expand Down

0 comments on commit f2d81c2

Please sign in to comment.