Hello Guys,
I feel so stupid for not beeing able to find it out myself but I don’t know why it tells me that I can’t override ChoosePlayerStart from AGameMode
#pragma once
#include "GameFramework/GameMode.h"
#include "CaptureTheFlagGameMode.generated.h"
UCLASS(minimalapi)
class ACaptureTheFlagGameMode : public AGameMode {
GENERATED_BODY()
public:
...
virtual AActor* ChoosePlayerStart(AController* Player) override;
...
};
"member function declared with ‘override’ does not override a base class member" is what Visual Studio and unreal engine told me.
I checked if Super:: had that method and it did with the exakt same parameters.
During googling for fixes I found this and this, and after I didn’t find a mistake copied the code and it didn’t work.
Please tell me what I did wrong and whether you need more of my code or not to answer.