aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2015-01-24 06:44:41 +0100
committerKahrl <kahrl@gmx.net>2015-01-24 06:44:41 +0100
commitf8bd1f356361190502e85636d382b8e895ff4d57 (patch)
tree5990ed14bb8403840f938bcaa0124e0ea2b34ddc /src
parent0ea843bbdb9618d9f408c279926c29876915eb10 (diff)
downloadminetest-f8bd1f356361190502e85636d382b8e895ff4d57.tar.gz
minetest-f8bd1f356361190502e85636d382b8e895ff4d57.tar.bz2
minetest-f8bd1f356361190502e85636d382b8e895ff4d57.zip
Fix uninitialized variable Server::m_next_sound_id
Diffstat (limited to 'src')
-rw-r--r--src/server.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp
index fba512049..2b5fe9b08 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -194,7 +194,8 @@ Server::Server(
m_clients(&m_con),
m_shutdown_requested(false),
m_ignore_map_edit_events(false),
- m_ignore_map_edit_events_peer_id(0)
+ m_ignore_map_edit_events_peer_id(0),
+ m_next_sound_id(0)
{
m_liquid_transform_timer = 0.0;