summary refs log tree commit diff
path: root/src/GameDraw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GameDraw.cpp')
-rw-r--r--src/GameDraw.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/GameDraw.cpp b/src/GameDraw.cpp
index 911e9ea..b97f814 100644
--- a/src/GameDraw.cpp
+++ b/src/GameDraw.cpp
@@ -2,7 +2,7 @@
 // Copyright (C) 2002  David Rosen
 // Copyright (C) 2003  Ryan C. Gordon
 // Copyright (C) 2003  Steven Fuller
-// Copyright (C) 2021  Nguyễn Gia Phong
+// Copyright (C) 2021, 2023  Nguyễn Gia Phong
 //
 // This file is part of Black Shades.
 //
@@ -519,8 +519,7 @@ void Game::DrawGLScene(void)
 			}
 		}
 
-		// Decals
-		decals.draw();
+		drawDecals(&decals);
 
 		// Occluding blocks
 		beginx=(camera.position.x+block_spacing/2)/block_spacing-2;