mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +00:00
- SW: processWeapon must check for valid player sprites.
On map start it can happen that this gets called with an incompletely set up map.
This commit is contained in:
parent
10a6515b9a
commit
3194efc646
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ enum
|
|||
|
||||
static void processWeapon(PLAYERp const pp)
|
||||
{
|
||||
if (pp->PlayerSprite < 0) return;
|
||||
USERp u = User[pp->PlayerSprite].Data();
|
||||
int i;
|
||||
|
||||
|
|
Loading…
Reference in a new issue