Remove newlines from Com_Error calls, patch by DevHC
This commit is contained in:
parent
4cfb7d376b
commit
4b9ab42c2c
12 changed files with 38 additions and 38 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue