Fixed SCRIPT_COMMAND_ORIENTATION, orientation needs to be float. Credit to Malcrom.

--HG--
branch : trunk
This commit is contained in:
Xanadu
2010-03-11 16:54:25 +01:00
parent 4c7e599802
commit ebee705452
2 changed files with 2 additions and 2 deletions

View File

@@ -3694,7 +3694,7 @@ void Map::ScriptsProcess()
break;
}
((Creature *)source)->SetOrientation(step.script->datalong);
((Creature *)source)->SetOrientation(step.script->o);
((Creature *)source)->SendMovementFlagUpdate();
break;

View File

@@ -421,7 +421,7 @@ enum RealmZone
//trinity only
#define SCRIPT_COMMAND_ORIENTATION 30 // datalong orientation
#define SCRIPT_COMMAND_ORIENTATION 30 // o = orientation
/// Storage class for commands issued for delayed execution
struct CliCommandHolder