rename explosion symbols
Use a slightly more meaningful name for each one rather than a sequential numerical name. S_explode1 to S_expl_tl S_explode2 to S_expl_tc S_explode3 to S_expl_tr S_explode4 to S_expl_ml S_explode5 to S_expl_mc S_explode6 to S_expl_mr S_explode7 to S_expl_bl S_explode8 to S_expl_bc S_explode9 to S_expl_br
This commit is contained in:
@@ -2217,7 +2217,7 @@ map_glyphinfo(xchar x, xchar y, int glyph,
|
||||
else
|
||||
zap_color((offset >> 2));
|
||||
} else if ((offset = (glyph - GLYPH_EXPLODE_OFF)) >= 0) { /* explosion */
|
||||
idx = ((offset % MAXEXPCHARS) + S_explode1) + SYM_OFF_P;
|
||||
idx = ((offset % MAXEXPCHARS) + S_expl_tl) + SYM_OFF_P;
|
||||
explode_color(offset / MAXEXPCHARS);
|
||||
} else if ((offset = (glyph - GLYPH_CMAP_OFF)) >= 0) { /* cmap */
|
||||
idx = offset + SYM_OFF_P;
|
||||
|
||||
Reference in New Issue
Block a user