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