mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fixed a few bad declarations.
This commit is contained in:
parent
8a50004f55
commit
47884f8a71
2 changed files with 3 additions and 3 deletions
|
@ -419,8 +419,8 @@ class Actor : Thinker native
|
||||||
native void Howl();
|
native void Howl();
|
||||||
native void DrawSplash (int count, double angle, int kind);
|
native void DrawSplash (int count, double angle, int kind);
|
||||||
native void GiveSecret(bool printmsg = true, bool playsound = true);
|
native void GiveSecret(bool printmsg = true, bool playsound = true);
|
||||||
native void GetCameraHeight();
|
native double GetCameraHeight();
|
||||||
native void GetGravity();
|
native double GetGravity();
|
||||||
|
|
||||||
native bool CheckClass(class<Actor> checkclass, int ptr_select = AAPTR_DEFAULT, bool match_superclass = false);
|
native bool CheckClass(class<Actor> checkclass, int ptr_select = AAPTR_DEFAULT, bool match_superclass = false);
|
||||||
native void AddInventory(Inventory inv);
|
native void AddInventory(Inventory inv);
|
||||||
|
|
|
@ -24,7 +24,7 @@ class Powerup : Inventory native
|
||||||
native double Strength; // Meaning depends on powerup - currently used only by Invisibility
|
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.
|
// 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; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue