fixup path lookup
This commit is contained in:
@@ -3336,7 +3336,6 @@ PadX=SCREEN_CENTER_X-280
|
|||||||
PadY=SCREEN_CENTER_Y+70
|
PadY=SCREEN_CENTER_Y+70
|
||||||
PadOnCommand=Zoom,15;RotationY,180;sleep,4.7;linear,1.0;RotationY,360;Zoom,20;AddX,190;AddY,80
|
PadOnCommand=Zoom,15;RotationY,180;sleep,4.7;linear,1.0;RotationY,360;Zoom,20;AddX,190;AddY,80
|
||||||
UseNotefield=true
|
UseNotefield=true
|
||||||
Stepfile="ScreenHowToPlay steps.sm"
|
|
||||||
PlayerX=SCREEN_CENTER_X+160
|
PlayerX=SCREEN_CENTER_X+160
|
||||||
PlayerY=SCREEN_CENTER_Y
|
PlayerY=SCREEN_CENTER_Y
|
||||||
PlayerOnCommand=
|
PlayerOnCommand=
|
||||||
|
|||||||
@@ -21,7 +21,6 @@
|
|||||||
#include "StatsManager.h"
|
#include "StatsManager.h"
|
||||||
#include "SongUtil.h"
|
#include "SongUtil.h"
|
||||||
|
|
||||||
static const ThemeMetric<RString> STEPFILE ("ScreenHowToPlay","Stepfile");
|
|
||||||
static const ThemeMetric<int> NUM_W2S ("ScreenHowToPlay","NumW2s");
|
static const ThemeMetric<int> NUM_W2S ("ScreenHowToPlay","NumW2s");
|
||||||
static const ThemeMetric<int> NUM_MISSES ("ScreenHowToPlay","NumMisses");
|
static const ThemeMetric<int> NUM_MISSES ("ScreenHowToPlay","NumMisses");
|
||||||
static const ThemeMetric<bool> USELIFEBAR ("ScreenHowToPlay","UseLifeMeterBar");
|
static const ThemeMetric<bool> USELIFEBAR ("ScreenHowToPlay","UseLifeMeterBar");
|
||||||
@@ -137,7 +136,7 @@ void ScreenHowToPlay::Init()
|
|||||||
if( USEPLAYER )
|
if( USEPLAYER )
|
||||||
{
|
{
|
||||||
SMLoader smfile;
|
SMLoader smfile;
|
||||||
smfile.LoadFromSMFile( THEME->GetPathO("", STEPFILE), m_Song, false );
|
smfile.LoadFromSMFile( THEME->GetPathO(m_sName, "steps"), m_Song, false );
|
||||||
m_Song.AddAutoGenNotes();
|
m_Song.AddAutoGenNotes();
|
||||||
|
|
||||||
const Style* pStyle = GAMESTATE->GetCurrentStyle();
|
const Style* pStyle = GAMESTATE->GetCurrentStyle();
|
||||||
|
|||||||
Reference in New Issue
Block a user