A_CustomRailgun With "None" spawnclass render warning
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
A_CustomRailgun With "None" spawnclass render warning
This is strange warning. "Unknown class name 'None'". I think there are error in class name exception evaluation. First of all, same string "None" create tons of FName's with different index, but same string. I think it's totally wrong, but this is not a source of warning. There are condition "if (clsname != NAME_None || !ctx.isconst)" in src/thingdef/thingdef_expression.cpp/FxClassTypeCast::Resolve. For A_CustomRailgun 15'th parameter ctx.isconst is false for unknown reason and I think that is error.
- Attachments
-
ExamleRailgun.zip
- (1.23 KiB) Downloaded 19 times