From efd25d51cdd7a9cadda1c0f6983905fc17545f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Thu, 24 Aug 2023 04:21:46 +0900 Subject: Fix decal fading animation Also fix missing decal regression. Fixes: 48417e11854f8 ("Make XYZ C-compatible") --- src/GameDraw.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/GameDraw.cpp') 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; -- cgit v1.2.3