From 9251ce11c7112a866ac11fbbb6c3399be024668e Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sat, 21 Aug 2021 13:35:41 +1000 Subject: [PATCH] - Blood: Remove unused `isOriginalQAV()` function from weapon.cpp. --- source/games/blood/src/weapon.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/source/games/blood/src/weapon.cpp b/source/games/blood/src/weapon.cpp index 225019f23..8671189a9 100644 --- a/source/games/blood/src/weapon.cpp +++ b/source/games/blood/src/weapon.cpp @@ -244,15 +244,6 @@ void WeaponPrecache() } } -bool isOriginalQAV() -{ - static int cached = -1; - if (cached != -1) return cached; - int lump = fileSystem.FindResource(60, "QAV"); - cached = lump >= 0 && fileSystem.GetFileContainer(lump) < fileSystem.GetMaxIwadNum(); - return cached; -} - void WeaponDraw(PLAYER *pPlayer, int shade, double xpos, double ypos, int palnum) { assert(pPlayer != NULL);