Remove newlines from Com_Error calls, patch by DevHC
This commit is contained in:
1 parent
4cfb7d376b
commit
4b9ab42c2c
12 files changed
+38
-38
No files matched your search
@@ -780,14 +780,14 @@ image_t *R_CreateImage( const char *name, const byte *pic, int width, int height
|
||||
long hash;
|
||||
|
||||
if (strlen(name) >= MAX_QPATH ) {
|
||||
ri.Error (ERR_DROP, "R_CreateImage: \"%s\" is too long\n", name);
|
||||
ri.Error (ERR_DROP, "R_CreateImage: \"%s\" is too long", name);
|
||||
}
|
||||
if ( !strncmp( name, "*lightmap", 9 ) ) {
|
||||
isLightmap = qtrue;
|
||||
}
|
||||
|
||||
if ( tr.numImages == MAX_DRAWIMAGES ) {
|
||||
ri.Error( ERR_DROP, "R_CreateImage: MAX_DRAWIMAGES hit\n");
|
||||
ri.Error( ERR_DROP, "R_CreateImage: MAX_DRAWIMAGES hit");
|
||||
}
|
||||
|
||||
image = tr.images[tr.numImages] = ri.Hunk_Alloc( sizeof( image_t ), h_low );
|
||||
|
||||
Reference in new issue
Block a user