ASSERT that radarBuffer != NULL at the only place where we use it
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4776 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
f39e1617ba
commit
199adccc0a
|
@ -329,6 +329,8 @@ void drawRadar(void)
|
|||
|
||||
if(frameSkip<=0)
|
||||
{
|
||||
ASSERT(radarBuffer != NULL, "Invalid radarBuffer pointer!");
|
||||
|
||||
if (RadVisWidth != RadarWidth || RadVisHeight != RadarHeight)
|
||||
{
|
||||
ClearRadar(radarBuffer);
|
||||
|
|
Loading…
Reference in New Issue