corrected UDP/IP error output

This commit is contained in:
zicodxx 2007-01-30 00:00:53 +00:00
parent 1bb867d617
commit d636883a64
4 changed files with 4 additions and 3 deletions

View file

@ -142,7 +142,7 @@ static void chk(void *p)
exit(EXIT_FAILURE);
}
#define FAIL(m...) do { msg(#m); return -1; } while (0)
#define FAIL(m...) do { msg(m); return -1; } while (0)
/* Find as much as MAX_BRDINTERFACES during local iface autoconfiguration.
* Note that more interfaces can be added during manual configuration

View file

@ -838,7 +838,7 @@ bool g3_draw_bitmap(vms_vector *pos,fix width,fix height,grs_bitmap *bm,object *
glBegin(GL_QUADS);
// Define alpha by looking for object TYPE or ID. We do this here so we have it seperated from the rest of the code.
if (glalpha_effects && (obj->type==OBJ_FIREBALL || obj->type==OBJ_WEAPON || obj->id==POW_EXTRA_LIFE || obj->id==POW_ENERGY || obj->id==POW_SHIELD_BOOST || obj->id==POW_HOARD_ORB || obj->id==POW_CLOAK || obj->id==POW_INVULNERABILITY))
if (glalpha_effects && (obj->type==OBJ_FIREBALL || obj->type==OBJ_WEAPON || obj->id==POW_EXTRA_LIFE || obj->id==POW_ENERGY || obj->id==POW_SHIELD_BOOST || obj->id==POW_CLOAK || obj->id==POW_INVULNERABILITY))
glColor4f(1.0,1.0,1.0,0.6);
else
glColor3f(1.0,1.0,1.0);

View file

@ -3,6 +3,7 @@ D1X-Rebirth Changelog
20070130
--------
d1x.ini, arch/ogl/gr.c, arch/ogl/ogl.c, include/3d.h, main/inferno.c, main/object.c: added transparency effects for some bitmaps like explosions, powerups, weapons, etc. - to enable with -gl_transparency
arch/linux/ipx_udp.c, main/ipclient.h: corrected UDP/IP error output
20070128
--------

View file

@ -48,7 +48,7 @@ static inline void msg(const char *fmt,...)
putchar('\n');
}
#define FAIL(m...) do { msg(#m); return -1; } while (0)
#define FAIL(m...) do { msg(m); return -1; } while (0)
static inline void chk(void *p){
if (p) return;