Fixed SCRIPT_COMMAND_ORIENTATION, orientation needs to be float. Credit to Malcrom.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -3694,7 +3694,7 @@ void Map::ScriptsProcess()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
((Creature *)source)->SetOrientation(step.script->datalong);
|
((Creature *)source)->SetOrientation(step.script->o);
|
||||||
((Creature *)source)->SendMovementFlagUpdate();
|
((Creature *)source)->SendMovementFlagUpdate();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
+1
-1
@@ -421,7 +421,7 @@ enum RealmZone
|
|||||||
|
|
||||||
|
|
||||||
//trinity only
|
//trinity only
|
||||||
#define SCRIPT_COMMAND_ORIENTATION 30 // datalong orientation
|
#define SCRIPT_COMMAND_ORIENTATION 30 // o = orientation
|
||||||
|
|
||||||
/// Storage class for commands issued for delayed execution
|
/// Storage class for commands issued for delayed execution
|
||||||
struct CliCommandHolder
|
struct CliCommandHolder
|
||||||
|
|||||||
Reference in New Issue
Block a user