Line 64:
Code: Select all
if (dynamic_cast<MMORoom*>(room.get()) != NULL)
errors->push_back("Selected Room is not an MMORoom");Line 64:
Code: Select all
if (dynamic_cast<MMORoom*>(room.get()) == NULL)
errors->push_back("Selected Room is not an MMORoom");(I wasn't sure where to put this, so I hope it's ok for it to be here)