[Patch] My Trailers: German trailers starts wrong trailer (1 Viewer)

scoop

Retired Team Member
  • Premium Supporter
  • November 14, 2004
    614
    7
    Hi,

    The following patch is announced by Christoph @ IRC.

    Bug Description:
    ----------------
    When starting a trailer from the German trailers, the
    wrong trailer is started, i.e. the trailer just below
    the selected one.

    Solution:
    ---------
    The fix is in GUITrailers.cs, at line 646. Change
    Code:
    GermanTrailers.GermanSelected = itemindex;
    to:
    Code:
    GermanTrailers.GermanSelected = itemindex - 1;
    Patch @ SF: http://sourceforge.net/tracker/index.php?func=detail&aid=1394579&group_id=107397&atid=647927
     

    jawbroken

    Portal Pro
    August 13, 2005
    706
    0
    Home Country
    Afghanistan Afghanistan
    Shouldn't the line just after this (line 647) also be changed?
    Currently it is:
    Prev_SelectedItem = itemindex + 1;

    Seems like it should be just itemindex. But then again I am not entirely sure what Prev_SelectedItem is used for or if this is even an issue.
     

    Users who are viewing this thread

    Top Bottom