From 47884f8a7151ad3c3e06017039b230d7b674cd1a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 30 Nov 2016 16:19:13 +0100 Subject: [PATCH] - fixed a few bad declarations. --- wadsrc/static/zscript/actor.txt | 4 ++-- wadsrc/static/zscript/shared/powerups.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wadsrc/static/zscript/actor.txt b/wadsrc/static/zscript/actor.txt index 9bf4fdcd9..abcd58b50 100644 --- a/wadsrc/static/zscript/actor.txt +++ b/wadsrc/static/zscript/actor.txt @@ -419,8 +419,8 @@ class Actor : Thinker native native void Howl(); native void DrawSplash (int count, double angle, int kind); native void GiveSecret(bool printmsg = true, bool playsound = true); - native void GetCameraHeight(); - native void GetGravity(); + native double GetCameraHeight(); + native double GetGravity(); native bool CheckClass(class checkclass, int ptr_select = AAPTR_DEFAULT, bool match_superclass = false); native void AddInventory(Inventory inv); diff --git a/wadsrc/static/zscript/shared/powerups.txt b/wadsrc/static/zscript/shared/powerups.txt index 0cd735c81..d28799ff2 100644 --- a/wadsrc/static/zscript/shared/powerups.txt +++ b/wadsrc/static/zscript/shared/powerups.txt @@ -24,7 +24,7 @@ class Powerup : Inventory native native double Strength; // Meaning depends on powerup - currently used only by Invisibility // Note, that while this is an inventory flag, it only has meaning on an active powerup. - virtual bool GetNoTeleportFreeze() { return bNoTeleportFreeze; } + override bool GetNoTeleportFreeze() { return bNoTeleportFreeze; } }