diff --git a/src/player.cpp b/src/player.cpp index bc76338..3eb3fc0 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -350,6 +350,7 @@ void Player::ChangePlayerModel(std::string& cat, std::string& key, std::string& int imodel = std::stoi(val); CStreaming::RequestModel(imodel, eStreamingFlags::PRIORITY_REQUEST); CStreaming::LoadAllRequestedModels(true); + player->DeleteRwObject(); player->SetModelIndex(imodel); CStreaming::SetModelIsDeletable(imodel); }