PDA

View Full Version : COMMITTED: Mezing Moving Mobs


Leere
03-19-2010, 01:53 PM
Problem: Casting any kind of mesmerize spell/song on a mob that is moving will result in the mob continuing to move for the client. (See also here (http://www.projecteq.net/phpBB2/viewtopic.php?t=9860), second post.)

Solution: Add a SendPosition() to Mob::Mesmerize() in zone/spells.cpp.

File: zone\spells.cpp (rev1290)
@@ -3643,6 +3643,7 @@

if (casting_spell_id)
InterruptSpell();
+ SendPosition();

/* this stuns the client for max time, with no way to break it -solar
if (this->IsClient()){

MNWatchdog
03-19-2010, 02:21 PM
Definitely a needed fix.

Derision
04-04-2010, 02:21 PM
Thanks. Committed in Rev1356.