From 0129b5e99b7fefcb1fc0ec8ad0b42e603b87e3b1 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 16 Feb 2009 19:40:24 +0000 Subject: [PATCH] fix a compile error when using C++ mode git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8715 d7cf8633-e32d-0410-b094-e92efae38249 --- r_shadow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r_shadow.c b/r_shadow.c index 08c71f39..b8e2e51f 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -3630,7 +3630,7 @@ void R_DrawCoronas(void) // now draw the coronas using the query data for intensity info for (lightindex = 0;lightindex < range;lightindex++) { - light = Mem_ExpandableArray_RecordAtIndex(&r_shadow_worldlightsarray, lightindex); + light = (dlight_t *) Mem_ExpandableArray_RecordAtIndex(&r_shadow_worldlightsarray, lightindex); if (!light) continue; rtlight = &light->rtlight; -- 2.39.2