- made Ammo.GetParentAmmo virtual

This commit is contained in:
Christoph Oelckers 2018-12-19 15:25:42 +01:00 committed by drfrag
parent 3d69fc327b
commit f7fe19ee51

View file

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