- SW: Ensure pp in analyzesprites() is always initiated as the console player.

This commit is contained in:
Mitchell Richters 2021-12-24 21:02:34 +11:00 committed by Christoph Oelckers
parent ca9d73ffee
commit 0bb4ec7c33

View file

@ -614,7 +614,7 @@ void analyzesprites(tspritetype* tsprite, int& spritesortcnt, int viewx, int vie
int smr4, smr2;
USERp tu;
static int ang = 0;
PLAYERp pp = nullptr;
PLAYERp pp = Player + screenpeek;
int newshade=0;
const int DART_PIC = 2526;