EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Server Code Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=669)
-   -   #zone minor tweak (https://www.eqemulator.org/forums/showthread.php?t=29776)

Shin Noir 10-12-2009 03:14 AM

#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.


All times are GMT -4. The time now is 12:37 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.