- made Ammo.GetParentAmmo virtual

This commit is contained in:
Christoph Oelckers 2018-12-19 15:25:42 +01:00
parent 0160841dde
commit 3291d8e9ac

View file

@ -66,7 +66,7 @@ class Ammo : Inventory
// //
//=========================================================================== //===========================================================================
Class<Ammo> GetParentAmmo () virtual Class<Ammo> GetParentAmmo ()
{ {
class<Object> type = GetClass(); class<Object> type = GetClass();