Engine doesn't run after player_t::GetPSprite change

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
drfrag
Vintage GZDoom Developer
Posts: 3205
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Engine doesn't run after player_t::GetPSprite change

Post by drfrag »

I can't compile master right now but i'll bite the bullet and say it's the same code as in the vintage build. I've left a comment @github but got no reply.
From this commit: https://github.com/coelckers/gzdoom/com ... 9da5f2157a

Code: Select all

Script error, "gzdoom.pk3:zscript/actors/doom/weaponchaingun.zs" line 75:
Unknown identifier 'cur'
Script error, "gzdoom.pk3:zscript/actors/doom/weaponchaingun.zs" line 76:
Unknown identifier 'theflash'
This snippet:

Code: Select all

				let psp = player.GetPSprite(PSP_WEAPON);
				if (psp) State cur = psp.CurState;
				int theflash = atk == cur? 0:1;
				player.SetSafeFlash(weap, flash, theflash);
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Engine doesn't run after player_t::GetPSprite change

Post by Graf Zahl »

I was unable to test this before committing.
Well, shit happens...
Post Reply

Return to “Closed Bugs [GZDoom]”