[Change] Start out with 0. offset so text appears sooner.

This commit is contained in:
Allanis 2014-03-04 01:01:55 +00:00
parent 401ea9b4e5
commit 9923b79684
2 changed files with 3 additions and 1 deletions

View File

@ -106,7 +106,8 @@ int intro_display(void) {
x = 100.; x = 100.;
y = 0.; y = 0.;
tlast = SDL_GetTicks(); tlast = SDL_GetTicks();
offset = -(intro_font.h + 5.); offset = 0.;
/*offset = -(intro_font.h + 5.);*/
max = intro_nlines + SCREEN_H / ((intro_font.h + 5.)); max = intro_nlines + SCREEN_H / ((intro_font.h + 5.));
while(1) { while(1) {

View File

@ -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. */ for(i = 0; (wlayer[i] != w) && (i < *nlayer); i++); /* Get to the current position. */
if(i >= *nlayer) { if(i >= *nlayer) {
/** @todo Figure out why this happens in the tutorial. */
WARN("Trying to destroy weapon not found in stack!"); WARN("Trying to destroy weapon not found in stack!");
return; return;
} }