A_CustomRailgun With "None" spawnclass render warning

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 a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: A_CustomRailgun With "None" spawnclass render warning

Re: A_CustomRailgun With "None" spawnclass render warning

by randi » Tue Apr 09, 2013 4:16 pm

Fixed in r4210.

A_CustomRailgun With "None" spawnclass render warning

by Dethernal » Sat Mar 23, 2013 8:31 am

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

Top