Need help with special weapon spawn

Discussions about UT99
User avatar
Barbie
Godlike
Posts: 2770
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Need help with special weapon spawn

Post by Barbie »

IMO a bad idea to relay on mapper's attention to avoid gaps in the arrays… (Never trust incoming data!)
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
User avatar
ExpEM
Adept
Posts: 298
Joined: Wed Nov 09, 2016 1:48 am

Re: Need help with special weapon spawn

Post by ExpEM »

Barbie wrote: Mon Oct 30, 2023 10:08 am IMO a bad idea to relay on mapper's attention to avoid gaps in the arrays… (Never trust incoming data!)
I agree.
Thinking about it now, we could use an array of structs with weapon and rotation data.
Signature goes here.