diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-01 18:32:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-01 18:32:58 +0300 |
commit | 7b261cb926402f3d8e9b6ce0f9bdeaa26200fd5a (patch) | |
tree | 4f5a65868abf96fd53baf6b95eaddc1523834990 /src/being/being.cpp | |
parent | 8a9cba471fe49fd73342ee0b7a898f29539edb20 (diff) | |
download | plus-7b261cb926402f3d8e9b6ce0f9bdeaa26200fd5a.tar.gz plus-7b261cb926402f3d8e9b6ce0f9bdeaa26200fd5a.tar.bz2 plus-7b261cb926402f3d8e9b6ce0f9bdeaa26200fd5a.tar.xz plus-7b261cb926402f3d8e9b6ce0f9bdeaa26200fd5a.zip |
Fix pointers alias issue in Being::playSfx (detected by gcc 7)
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 1e63b9b98..90638ef55 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -4762,7 +4762,7 @@ void Being::addEffect(const std::string &restrict name) restrict2 } void Being::playSfx(const SoundInfo &sound, - Being *restrict const being, + Being *const being, const bool main, const int x, const int y) const restrict2 { |