[Fix] Secondary weapons no longer seg fault upon cycling through.

This commit is contained in:
Allanis 2013-03-10 15:14:00 +00:00
parent f5d5441fd2
commit 0421e2a43b

View File

@ -430,7 +430,7 @@ void player_render(void) {
gl_printMid(f, (int)gui.weapon.w, gui.weapon.x,
gui.weapon.y - 5,
&cConsole, "%s", player->ammo->outfit->u.lau.ammo);
&cConsole, "%s", player->secondary->outfit->u.lau.ammo);
// Print ammo underneath to the left.
gl_printMid(&gl_smallFont, (int)gui.weapon.w, gui.weapon.x,