forked from len0rd/rockbox
quake: add notification upon strange error
For some reason a NULL pointer creeps in, on the simulator only, it seems. This makes sure that if it happens on target we'll know about it. Change-Id: I7a5bc9dd3ef71f28d58d0d456d23007dc0d49ce3
This commit is contained in:
parent
caee6c578d
commit
5e0bd5bfc0
1 changed files with 3 additions and 0 deletions
|
@ -275,6 +275,9 @@ pushback:
|
|||
// find out where the edge goes in the edge list
|
||||
pwedge = pedge->prev->prev;
|
||||
|
||||
// BUG??? - FW 7/29/19
|
||||
if(!pwedge || !pedge)
|
||||
rb->splashf(HZ, "BUG 1!!!!!");
|
||||
while (pwedge->u > pedge->u)
|
||||
{
|
||||
pwedge = pwedge->prev;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue