(svn r8887) -Fix (r8879)[MorphOS]: initialization of mouth_table[] skipped by goto
This commit is contained in:
@@ -171,6 +171,7 @@ void DrawPlayerFace(uint32 face, int color, int x, int y)
|
|||||||
DrawSprite((lips * 10 >> 4) + 0x351, PAL_NONE, x, y);
|
DrawSprite((lips * 10 >> 4) + 0x351, PAL_NONE, x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
/* Nose */
|
/* Nose */
|
||||||
static const SpriteID mouth_table[] = { 0x34C, 0x34D, 0x34F };
|
static const SpriteID mouth_table[] = { 0x34C, 0x34D, 0x34F };
|
||||||
switch (gen_race) {
|
switch (gen_race) {
|
||||||
@@ -179,6 +180,7 @@ void DrawPlayerFace(uint32 face, int color, int x, int y)
|
|||||||
case BLACK_MALE: DrawSprite(0x393 + (nose & 3), PAL_NONE, x, y); break;
|
case BLACK_MALE: DrawSprite(0x393 + (nose & 3), PAL_NONE, x, y); break;
|
||||||
case BLACK_FEMALE: DrawSprite(0x3B3 + (nose * 5 >> 3), PAL_NONE, x, y); break;
|
case BLACK_FEMALE: DrawSprite(0x3B3 + (nose * 5 >> 3), PAL_NONE, x, y); break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
skip_mouth:
|
skip_mouth:
|
||||||
|
|
||||||
/* Draw the hair */
|
/* Draw the hair */
|
||||||
|
Reference in New Issue
Block a user