Skip to content

RPG_Main.cpp(55,24): error C2440: '=': cannot convert from 'OneLoneCoder_RPG *' to 'RPG_Engine *' #77

@Tycross

Description

@Tycross

Hey,
I am new to C++ and tried to get the game working.

But I stuck in RPG_Main.cpp Line 55:
cCommand::g_engine = this;
--> error:
RPG_Main.cpp(55,24): error C2440: '=': cannot convert from 'OneLoneCoder_RPG *' to 'RPG_Engine *'
RPG_Main.cpp(55,24): message : Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or parenthesized function-style cast

Did I miss anything?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions