View Single Post
  #1  
Old 10-12-2009, 03:14 AM
Shin Noir's Avatar
Shin Noir
Legendary Member
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 506
Default #zone minor tweak

command.cpp line 1440 from:
Code:
		c->MovePC(zoneid, (float)atof(sep->arg[2]), atof(sep->arg[3]), atof(sep->arg[4]), 0.0f, 0);
to:
Code:
		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.
__________________

~Shin Noir
DungeonEQ.com
Reply With Quote