[9205] Move script call GOHello to GameObject::Use

This provide more accurate call in case of delay use from spell effects

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-01-17 23:43:39 +01:00
parent 16c0ff3ef7
commit 544d396beb
4 changed files with 9 additions and 12 deletions

View file

@ -251,9 +251,6 @@ void WorldSession::HandleGameObjectUseOpcode( WorldPacket & recv_data )
if(!obj)
return;
if (Script->GOHello(_player, obj))
return;
obj->Use(_player);
}