Core/SAI: Add distance option for SMART_ACTION_SOUND & SMART_ACTION_RANDOM_SOUND

This commit is contained in:
Aokromes committed 2017-10-26 12:33:57 +02:00
1 parent 42c488399e
commit 0a71d36af5
2 files changed
+15 -3

No files matched your search

@@ -622,6 +622,7 @@ struct SmartAction
{
uint32 sound;
uint32 onlySelf;
uint32 distance;
} sound;
struct
@@ -1109,8 +1110,9 @@ struct SmartAction
struct
{
std::array<uint32, SMART_ACTION_PARAM_COUNT - 1> sounds;
std::array<uint32, SMART_ACTION_PARAM_COUNT - 2> sounds;
uint32 onlySelf;
uint32 distance;
} randomSound;
struct