diff options
author | kwolekr <kwolekr@minetest.net> | 2015-07-02 23:14:30 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-07-02 23:14:30 -0400 |
commit | 7b171ea2be0e476d7cdc9300b53ba86a9f694161 (patch) | |
tree | de1768db2a4dce40738ed96248f29f7c923c527b /src/server.h | |
parent | 0a0378fecef5c6b4be6d034d8bced2a1568dde81 (diff) | |
download | minetest-7b171ea2be0e476d7cdc9300b53ba86a9f694161.tar.gz minetest-7b171ea2be0e476d7cdc9300b53ba86a9f694161.tar.bz2 minetest-7b171ea2be0e476d7cdc9300b53ba86a9f694161.zip |
Fix code style from recent commits and add misc. optimizations
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server.h b/src/server.h index 131c3c67b..877109a77 100644 --- a/src/server.h +++ b/src/server.h @@ -267,11 +267,11 @@ public: void spawnParticle(const char *playername, v3f pos, v3f velocity, v3f acceleration, float expirationtime, float size, - bool collisiondetection, bool vertical, std::string texture); + bool collisiondetection, bool vertical, const std::string &texture); void spawnParticleAll(v3f pos, v3f velocity, v3f acceleration, float expirationtime, float size, - bool collisiondetection, bool vertical, std::string texture); + bool collisiondetection, bool vertical, const std::string &texture); u32 addParticleSpawner(const char *playername, u16 amount, float spawntime, @@ -280,7 +280,7 @@ public: v3f minacc, v3f maxacc, float minexptime, float maxexptime, float minsize, float maxsize, - bool collisiondetection, bool vertical, std::string texture); + bool collisiondetection, bool vertical, const std::string &texture); u32 addParticleSpawnerAll(u16 amount, float spawntime, v3f minpos, v3f maxpos, @@ -288,7 +288,7 @@ public: v3f minacc, v3f maxacc, float minexptime, float maxexptime, float minsize, float maxsize, - bool collisiondetection, bool vertical, std::string texture); + bool collisiondetection, bool vertical, const std::string &texture); void deleteParticleSpawner(const char *playername, u32 id); void deleteParticleSpawnerAll(u32 id); |