Fix implicit class pointer casting.

This commit is contained in:
Mari the Deer 2023-02-11 13:19:03 +01:00
commit 99c9bda6ea
3 changed files with 6 additions and 5 deletions

View file

@ -335,7 +335,7 @@ Class SWWMStaticHandler : StaticEventHandler
{
if ( !(cls is 'Thinker') || (cls is 'Actor') || (cls == 'Thinker') )
continue;
sdefs.Push(cls);
sdefs.Push((Class<Thinker>)(cls));
}
if ( !e.Args[0] )
{