diff --git a/LEGO1/lego/legoomni/src/common/legogamestate.cpp b/LEGO1/lego/legoomni/src/common/legogamestate.cpp index 21e12a45..008dc0a3 100644 --- a/LEGO1/lego/legoomni/src/common/legogamestate.cpp +++ b/LEGO1/lego/legoomni/src/common/legogamestate.cpp @@ -61,6 +61,7 @@ #include "sndanim_actions.h" #include "towtrack.h" +#include #include #include #include @@ -557,7 +558,7 @@ MxResult LegoGameState::AddPlayer(Username& p_player) if (m_playerCount == 9) { GetFileSavePath(&from, 8); - DeleteFile(from.GetData()); + SDL_RemovePath(from.GetData()); m_playerCount--; }