mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
small fix in GenSearchSprite()
git-svn-id: https://svn.eduke32.com/eduke32@1257 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ae1e1a257e
commit
8151a49817
1 changed files with 3 additions and 3 deletions
|
@ -11070,7 +11070,7 @@ static void GenSearchSprite()
|
||||||
for (j=0; j<=rowmax[i]; j++)
|
for (j=0; j<=rowmax[i]; j++)
|
||||||
{
|
{
|
||||||
if (gs_spritewhat[i][j])
|
if (gs_spritewhat[i][j])
|
||||||
k=Bsprintf(disptext, "%s: ^O%d", labels[j][i], gs_sprite[i][j]);
|
k=Bsprintf(disptext, "%s: %d", labels[j][i], gs_sprite[i][j]);
|
||||||
else
|
else
|
||||||
k=Bsprintf(disptext, "%s: ^7any", labels[j][i]);
|
k=Bsprintf(disptext, "%s: ^7any", labels[j][i]);
|
||||||
for (; k<dispwidth[i]; k++) disptext[k] = 0;
|
for (; k<dispwidth[i]; k++) disptext[k] = 0;
|
||||||
|
@ -11161,9 +11161,9 @@ static void GenSearchSprite()
|
||||||
if (gs_spritewhat[col][row])
|
if (gs_spritewhat[col][row])
|
||||||
{
|
{
|
||||||
if (col == 1 && row == 0) // flags
|
if (col == 1 && row == 0) // flags
|
||||||
k = Bsprintf(disptext, "%s: ^O%x", labels[row][col], gs_sprite[col][row]);
|
k = Bsprintf(disptext, "%s: %x", labels[row][col], gs_sprite[col][row]);
|
||||||
else
|
else
|
||||||
k = Bsprintf(disptext, "%s: ^O%d", labels[row][col], gs_sprite[col][row]);
|
k = Bsprintf(disptext, "%s: %d", labels[row][col], gs_sprite[col][row]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
k = Bsprintf(disptext, "%s: ^7any", labels[row][col]);
|
k = Bsprintf(disptext, "%s: ^7any", labels[row][col]);
|
||||||
|
|
Loading…
Reference in a new issue