From b3e627f968845d31aee972a80ac55eafed530ce8 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 16 Apr 2004 23:47:24 +0000 Subject: [PATCH] cleanup add SetLoadedFromProfile() --- stepmania/src/Steps.cpp | 5 ----- stepmania/src/Steps.h | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/stepmania/src/Steps.cpp b/stepmania/src/Steps.cpp index 58ff11a840..df8b8f0a23 100644 --- a/stepmania/src/Steps.cpp +++ b/stepmania/src/Steps.cpp @@ -29,11 +29,6 @@ Steps::Steps() { - /* FIXME: should we init this to STEPS_TYPE_INVALID? - * I have a feeling that it's the right thing to do but that - * it'd trip obscure asserts all over the place, so I'll wait - * until after b6 to do this. -glenn */ - /* Yep, it should be STEPS_TYPE_INVALID. -Chris */ m_StepsType = STEPS_TYPE_INVALID; m_LoadedFromProfile = PROFILE_SLOT_INVALID; m_Difficulty = DIFFICULTY_INVALID; diff --git a/stepmania/src/Steps.h b/stepmania/src/Steps.h index 18170e0358..65b23bee3d 100644 --- a/stepmania/src/Steps.h +++ b/stepmania/src/Steps.h @@ -54,6 +54,7 @@ public: void SetDescription(CString desc); void SetDifficulty(Difficulty d); + void SetLoadedFromProfile( ProfileSlot slot ) { m_LoadedFromProfile = slot; } void SetMeter(int meter); void SetRadarValue(int r, float val); bool IsAutogen() const; // Was created by autogen?