Skip to content

Commit

Permalink
Fixed oops in Craft Wand
Browse files Browse the repository at this point in the history
  • Loading branch information
DudeMcDude committed Apr 11, 2016
1 parent 226a7d2 commit 1650bef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions TemplePlus/condition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ struct ConditionSystemAddresses : temple::AddressTable
rebase(RemoveSpellMod, 0x100CBAB0);
}



} addresses;

class ConditionFunctionReplacement : public TempleFix {
Expand Down Expand Up @@ -1606,7 +1604,7 @@ void ConditionSystem::RegisterNewConditions()

//mCondCraftWandLevelSet =
static CondStructNew craftWandSetLev("Craft Wand Level Set", 2);
craftWandSetLev.AddHook(dispTypeD20Query, DK_QUE_Craft_Wand_Spell_Level, QueryRetrun1GetArgs, (uint32_t)&mCondCraftWandLevelSet, 0);
craftWandSetLev.AddHook(dispTypeD20Query, DK_QUE_Craft_Wand_Spell_Level, QueryRetrun1GetArgs, &craftWandSetLev, 0);
craftWandSetLev.AddHook(dispTypeRadialMenuEntry, DK_NONE, CraftWandRadialMenu);

// Aid Another
Expand Down
2 changes: 0 additions & 2 deletions TemplePlus/condition.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@ struct ConditionSystem : temple::AddressTable
CondStructNew *mCondImprovedDisarm;


char mCondCraftWandLevelSetName[100];
CondStructNew mCondCraftWandLevelSet;

char mCondAidAnotherName[100];
CondStructNew * mCondAidAnother;
Expand Down

0 comments on commit 1650bef

Please sign in to comment.