[Change] Start out with 0. offset so text appears sooner.
This commit is contained in:
parent
401ea9b4e5
commit
9923b79684
@ -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) {
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user