A_CustomRailgun With "None" spawnclass render warning

Bugs that have been investigated and resolved somehow.

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.
Post Reply
Dethernal
Posts: 46
Joined: Tue Feb 10, 2009 5:40 am

A_CustomRailgun With "None" spawnclass render warning

Post by Dethernal »

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
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: A_CustomRailgun With "None" spawnclass render warning

Post by randi »

Fixed in r4210.
Post Reply

Return to “Closed Bugs [GZDoom]”