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:
Steve Checkoway
2006-07-20 02:19:03 +00:00
parent 29e6e796ba
commit b8ab1f7393
4 changed files with 24 additions and 21 deletions
+1 -1
View File
@@ -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;