- fixed a few bad declarations.

This commit is contained in:
Christoph Oelckers 2016-11-30 16:19:13 +01:00
parent 8a50004f55
commit 47884f8a71
2 changed files with 3 additions and 3 deletions

View file

@ -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<Actor> checkclass, int ptr_select = AAPTR_DEFAULT, bool match_superclass = false);
native void AddInventory(Inventory inv);

View file

@ -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; }
}