r1818 arguments warning possible error

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
User avatar
Enjay
 
 
Posts: 27053
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

r1818 arguments warning possible error

Post by Enjay »

Loading the Zdoom Community Map gives this:

Code: Select all

MAP01 - Zdoom Comunity Map #1

Line 4160 (type 129:UsePuzzleItem), arg 2 is 11 (should be 0)
Line 23556 (type 130:Thing_Activate), arg 2 is 2 (should be 0)
The second one is fair enough, that seems to be a genuine error. However, I think that the first one might be incorrect. According to the Wiki:
Wiki wrote:129:UsePuzzleItem (item, script)

* item: Puzzle artifact number
* script: Script to execute
Checkin the line in question it has its first argument set to 13 (to allow it to be used by the puzzle gear) and the second argument is set to 11 to get it to run script 11, which it does. All other arguments are set to 0.

I don't see anything wrong there, yet Zdoom is reporting it as an error.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: r1818 arguments warning possible error

Post by Gez »

randy wrote:(Hopefully all the argument counts in actionspecials.h are accurate. I found a few that were wrong.)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: r1818 arguments warning possible error

Post by Graf Zahl »

Actually UsePuzzleItem uses all arguments. It's UsePuzzleItem(item, script, arg1, arg2, arg3)!
Post Reply

Return to “Closed Bugs [GZDoom]”