- made Ammo.GetParentAmmo virtual

This commit is contained in:
Christoph Oelckers 2018-12-19 15:25:42 +01:00
parent 0160841dde
commit 3291d8e9ac
1 changed files with 1 additions and 1 deletions

View File

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