Cleaned up my phasebar code and merged it into the overall item selection code

This commit is contained in:
Xawotihs
2011-08-04 05:57:10 +00:00
parent 46dfe03099
commit eac5a35b43
6 changed files with 61 additions and 49 deletions

View File

@@ -292,12 +292,12 @@ bool CardSelector::CheckUserInput(JButton key)
if (active != oldactive)
{
{
CardView* c = dynamic_cast<CardView*> (oldactive);
PlayGuiObject* c = dynamic_cast<PlayGuiObject*> (oldactive);
if (c)
c->zoom = 1.0f;
}
{
CardView* c = dynamic_cast<CardView*> (active);
PlayGuiObject* c = dynamic_cast<PlayGuiObject*> (active);
if (c)
c->zoom = 1.4f;
}