Page 1 of 1

SetUserPositionRequest

Posted: 29 May 2016, 20:59
by Siegfre
I believe there is a small issue in "SetUserPositionRequest.cpp"

Line 64:

Code: Select all

if (dynamic_cast<MMORoom*>(room.get()) != NULL)
      errors->push_back("Selected Room is not an MMORoom");


should be

Line 64:

Code: Select all

if (dynamic_cast<MMORoom*>(room.get()) == NULL)
      errors->push_back("Selected Room is not an MMORoom");


Otherwise it returns an error when the room is successfully cast to an MMORoom.

(I wasn't sure where to put this, so I hope it's ok for it to be here)

Re: SetUserPositionRequest

Posted: 30 May 2016, 09:34
by Lapo
Thanks for reporting.

Re: SetUserPositionRequest

Posted: 01 Jun 2016, 07:15
by MBagnati
Hi,
You are right.
I have fixed the issue that will be enclosed into the next API release.

Thanks