diff --git a/wadsrc/static/zscript/shared/morph.txt b/wadsrc/static/zscript/shared/morph.txt index 3a1662915..8aa33926e 100644 --- a/wadsrc/static/zscript/shared/morph.txt +++ b/wadsrc/static/zscript/shared/morph.txt @@ -35,7 +35,7 @@ extend class Actor // //=========================================================================== - bool Morph(Actor activator, class playerclass, class monsterclass, int duration = 0, int style = 0, class morphflash = null, classunmorphflash = null) + virtual bool Morph(Actor activator, class playerclass, class monsterclass, int duration = 0, int style = 0, class morphflash = null, classunmorphflash = null) { if (player != null && player.mo != null && playerclass != null) { @@ -73,7 +73,7 @@ extend class Actor // //=========================================================================== - bool UnMorph(Actor activator, int flags, bool force) + virtual bool UnMorph(Actor activator, int flags, bool force) { if (player) {