From 27c00bcb95bd0428c094f7bf6ecc548595d40e7c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 23 Jun 2006 08:20:08 +0000 Subject: [PATCH] - Fixed: FWarpTexture::MakeTexture must be declared virtual so that the FWarp2Texture version of it can be called. SVN r215 (trunk) --- docs/rh-log.txt | 4 ++++ src/r_data.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index bde40ac0b4..14cff3e044 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,3 +1,7 @@ +June 22, 2006 (Changes by Graf Zahl) +- Fixed: FWarpTexture::MakeTexture must be declared virtual so that + the FWarp2Texture version of it can be called. + June 22, 2006 (Changes by Graf Zahl) - Fixed: The check to prevent items from being given to dead players didn't work properly. It has to be done in the cheat code, not in diff --git a/src/r_data.h b/src/r_data.h index 3ed4f5e219..867cafffdf 100644 --- a/src/r_data.h +++ b/src/r_data.h @@ -230,7 +230,7 @@ protected: Span **Spans; DWORD GenTime; - void MakeTexture (DWORD time); + virtual void MakeTexture (DWORD time); }; // [GRB] Eternity-like warping