diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2023-08-24 04:21:46 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2023-08-24 04:30:20 +0900 |
commit | efd25d51cdd7a9cadda1c0f6983905fc17545f14 (patch) | |
tree | 8dea973669d8dfe4e7209c9f419bf8cbbf483323 /src/GameDraw.cpp | |
parent | 2598835c54a3869a477d287d2845bbe42790a359 (diff) | |
download | blackshades-2.5.1.tar.gz |
Fix decal fading animation 2.5.1
Also fix missing decal regression. Fixes: 48417e11854f8 ("Make XYZ C-compatible")
Diffstat (limited to 'src/GameDraw.cpp')
-rw-r--r-- | src/GameDraw.cpp | 5 |
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; |