Cleaned up my phasebar code and merged it into the overall item selection code
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user