diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-11 21:21:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-11 21:51:42 +0300 |
commit | 35d742677a59b4340b24f703bad666f3700b14b5 (patch) | |
tree | 4fba5450036a21c94064706258c5326252fda73a /src/being/being.h | |
parent | 2b60803357db480eb5214a758a54363d4172987e (diff) | |
download | manaplus-35d742677a59b4340b24f703bad666f3700b14b5.tar.gz manaplus-35d742677a59b4340b24f703bad666f3700b14b5.tar.bz2 manaplus-35d742677a59b4340b24f703bad666f3700b14b5.tar.xz manaplus-35d742677a59b4340b24f703bad666f3700b14b5.zip |
Use inline attribute in some critial performance functions.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.h b/src/being/being.h index 6c1e09fa8..fb818aa4b 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -490,7 +490,7 @@ class Being notfinal : public ActorSprite, */ inline void setPosition(const float x, const float y, - const float z = 0.0F) restrict2 + const float z = 0.0F) restrict2 A_INLINE { setPosition(Vector(x, y, z)); } /** |