mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Removes /proc/type2parent, replaces it with ::parent_type (#96155)
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
if(cached_reagent.type != reagent)
|
||||
continue
|
||||
if(REAGENT_PARENT_TYPE) //to simulate typesof() which returns the type and then child types
|
||||
if(cached_reagent.type != reagent && type2parent(cached_reagent.type) != reagent)
|
||||
if(cached_reagent.type != reagent && cached_reagent::parent_type != reagent)
|
||||
continue
|
||||
else
|
||||
if(!istype(cached_reagent, reagent))
|
||||
|
||||
Reference in New Issue
Block a user