From 9923b79684fbba6b3707578bc2eacb447dc997aa Mon Sep 17 00:00:00 2001 From: Allanis <allanis@saracraft.net> Date: Tue, 4 Mar 2014 01:01:55 +0000 Subject: [PATCH] [Change] Start out with 0. offset so text appears sooner. --- src/intro.c | 3 ++- src/weapon.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/intro.c b/src/intro.c index f406509..843ffb6 100644 --- a/src/intro.c +++ b/src/intro.c @@ -106,7 +106,8 @@ int intro_display(void) { x = 100.; y = 0.; tlast = SDL_GetTicks(); - offset = -(intro_font.h + 5.); + offset = 0.; + /*offset = -(intro_font.h + 5.);*/ max = intro_nlines + SCREEN_H / ((intro_font.h + 5.)); while(1) { diff --git a/src/weapon.c b/src/weapon.c index 1ddf2da..9dd20d2 100644 --- a/src/weapon.c +++ b/src/weapon.c @@ -1020,6 +1020,7 @@ static void weapon_destroy(Weapon* w, WeaponLayer layer) { for(i = 0; (wlayer[i] != w) && (i < *nlayer); i++); /* Get to the current position. */ if(i >= *nlayer) { + /** @todo Figure out why this happens in the tutorial. */ WARN("Trying to destroy weapon not found in stack!"); return; }