Cannot convert NativeStruct<name> to Pointer<Type>

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
User avatar
Apeirogon
Posts: 1605
Joined: Mon Jun 12, 2017 12:57 am

Cannot convert NativeStruct<name> to Pointer<Type>

Post by Apeirogon »

Pretty sure its already reported, but still.

Drop archive on gzdoom, it wont load with error
Script error, ":zscript.zc" line 21:
Cannot convert NativeStruct<Line> to Pointer<Type>
Script warning, ":zscript.zc" line 23: (dont mind it)
Accessing deprecated function Create - deprecated since 3.8.0
Script error, ":zscript.zc" line 30:
Cannot convert NativeStruct<Sector> to Pointer<Type>
If you go to those lines , comment them and uncomment lines 17, 18, 31 and 32 it load fine.
Check on last public gzdoom version, 4.2.4
type_bug.zip
(1.57 KiB) Downloaded 78 times

Return to “Bugs [GZDoom]”