I broke it but don't see how

Started getting this:

MovingPlatform.cpp(35): error C2589: ‘}’: illegal token on right side of ‘::’

Stripped the cpp back down to what I thought was its orginal state and am still getting this error when I do a live build.

Here is the current cpp:

// Fill out your copyright notice in the Description page of Project Settings.


#include "MovingPlatform.h"

// Sets default values
AMovingPlatform::AMovingPlatform()
{
 	// Set this actor to call Tick() every frame.  You can turn this off to improve performance if you don't need it.
	PrimaryActorTick.bCanEverTick = true;

}

// Called when the game starts or when spawned
void AMovingPlatform::BeginPlay()
{
	Super::BeginPlay();	
	
	
	
	
}

// Called every frame
void AMovingPlatform::Tick(float DeltaTime)
{
	Super::Tick(DeltaTime);
			
}

Did you save the file before compiling that as there is no line 35 in that.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms