Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Revisions: Issue #1491 All Revisions ] Back to Issue ]
Summary 0001491: Spawn invulnerability conflicts with sphere invulnerability
Revision 2013-09-08 13:10 by Dusk
Description When spawn invulnerability runs out, it cancels out the invulnerability given by an invulnerability sphere if a player has acquired such a sphere while being spawn invulnerable.
Revision 2013-09-08 13:09 by Dusk
Description When spawn invulnerability runs out, it cancels out the invulnerability given by an invulnerability sphere if a player has acquired such a sphere while being spawn invulnerable.

In p_mobj.cpp:4992:

APowerup *invul = static_cast<APowerup*>(p->mo->GiveInventoryType (RUNTIME_CLASS(APowerInvulnerable)));


It gives APowerInvulnerable, which is also given by InvulnerabilitySphere. It needs to give a subclass instead.






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker