aboutsummaryrefslogtreecommitdiff
path: root/games/f1spirit-remake/files/patch-sources_auxiliar.cpp
blob: 1cb5b31750b2b4a3ef6359410b2328f991c9a536 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- sources/auxiliar.cpp.orig	2018-06-28 15:42:12 UTC
+++ sources/auxiliar.cpp
@@ -88,7 +88,7 @@ SDL_Surface *load_maskedimage(char *imag
 	mask=IMG_Load(name);
 
     if (tmp==0 ||
-		mask==0) return false;
+		mask==0) return NULL;
 
 	res=SDL_DisplayFormatAlpha(tmp);