Hi
Im having trouble with the syntax.
void stringPullPath(int inMoveClass, std::vector<void*> * path) {
int x, y;
NodeToXY(&path[0], &x, &y);
// other stuff here
}
The function above seem to get a correct "path" (a pointer to a vector).
But the call to "NodeToXY" (which wants a "void *" as first argument) compiles like this, but what it actually recieves does seem to be corrupt or maybe the adress or something.
I need the argument passed to be the actual "void *" and I suspect my syntax is wrong here...
Thanks for any help!