diff options
Diffstat (limited to 'servers/spatial_sound_server.cpp')
| -rw-r--r-- | servers/spatial_sound_server.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/servers/spatial_sound_server.cpp b/servers/spatial_sound_server.cpp index f49367d4c..99bd5116e 100644 --- a/servers/spatial_sound_server.cpp +++ b/servers/spatial_sound_server.cpp @@ -28,17 +28,15 @@ /*************************************************************************/ #include "spatial_sound_server.h" -SpatialSoundServer *SpatialSoundServer::singleton=NULL; - +SpatialSoundServer *SpatialSoundServer::singleton = NULL; SpatialSoundServer *SpatialSoundServer::get_singleton() { return singleton; } - SpatialSoundServer::SpatialSoundServer() { - ERR_FAIL_COND(singleton!=NULL); - singleton=this; + ERR_FAIL_COND(singleton != NULL); + singleton = this; } |
