From 5c105c0cad12c28e0943a2d5ff4cbc715bcf9ca6 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 3 Oct 2009 17:52:49 +0000 Subject: [PATCH] - forgot something. SVN r1895 (trunk) --- src/g_hexen/a_magewand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_hexen/a_magewand.cpp b/src/g_hexen/a_magewand.cpp index ab58f7ff8..0a28fc7b3 100644 --- a/src/g_hexen/a_magewand.cpp +++ b/src/g_hexen/a_magewand.cpp @@ -27,6 +27,6 @@ DEFINE_ACTION_FUNCTION(AActor, A_MWandAttack) { AActor *mo; - mo = P_SpawnPlayerMissile (self, RUNTIME_CLASS(AMageWandMissile)); + mo = P_SpawnPlayerMissile (self, PClass::FindClass("MageWandMissile")); S_Sound (self, CHAN_WEAPON, "MageWandFire", 1, ATTN_NORM); }