Fix possible crash if Player accesses the NoteData in it's dtor and the Player is a PlayerPlus. Now just treat PlayerPlus as a smart pointer to a Player with the added Load( const NoteData& ) member function. This is only a connivence class anyway.
This commit is contained in:
@@ -23,7 +23,7 @@ public:
|
||||
protected:
|
||||
virtual void Step();
|
||||
LifeMeterBar *m_pLifeMeterBar;
|
||||
PlayerPlus *m_pPlayer;
|
||||
PlayerPlus m_Player;
|
||||
Model *m_pmCharacter;
|
||||
Model *m_pmDancePad;
|
||||
int m_iW2s;
|
||||
|
||||
Reference in New Issue
Block a user