PDA

View Full Version : #zone minor tweak


Shin Noir
10-12-2009, 03:14 AM
command.cpp line 1440 from:

c->MovePC(zoneid, (float)atof(sep->arg[2]), atof(sep->arg[3]), atof(sep->arg[4]), 0.0f, 0);

to:

c->MovePC(zoneid, (float)atof(sep->arg[2]), atof(sep->arg[3]), atof(sep->arg[4]), atof(sep->arg[5]), 0);


I mean you can add this to the #zone arguments and all that if you like, but it just essentially lets you #zone to a heading. If you don't specify anything, or if you even put incorrect data there it'll just default it to 0, so no real reason to do any conditions etc.

but yeah, just thought I'd post that.