smarthaert / phoenixlib

Automatically exported from code.google.com/p/phoenixlib
0 stars 0 forks source link

TPHXGameScreen - Hide is not called when FadeOutTime=0 #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Here is the fix!

procedure TPHXGameScreen.ExitScreen(const NextIdent: TPHXScreenIdent);
begin
  if (TransitionOffTime <= 0.0) then
  begin
    Manager.FStack.Remove(Self);
    Hide;
    Manager.ShowScreen(NextIdent);
  end  else
  begin
    FState:= scTransitionOff;

    FNextIdent:=NextIdent;

    isExiting:= True;
  end;
end;

Original issue reported on code.google.com by wagenhei...@gmail.com on 15 Feb 2011 at 2:37

GoogleCodeExporter commented 9 years ago

Original comment by andreas....@gmail.com on 8 Aug 2013 at 2:11