05-22-2015, 01:03 PM
(05-22-2015, 12:55 PM)YinYin Wrote: Pretty simple:Probably should not call the variable target, as you would be overwriting the global variable target, which will cause things to go weird.
remember the original target.
int target = target.num;
//do team move stuff
loadtarget(target);
//do other stuff
Other than that, then yes, this is the solution.
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.

Chat

