*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1228 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-08-12 09:14:43 +00:00
parent 2089b76a9f
commit d70d8e5238
6 changed files with 23 additions and 39 deletions
+2 -5
View File
@@ -121,7 +121,7 @@ void texture(char *aframe, char *name)
COMMAND(texturereset, ARG_NONE);
COMMAND(texture, ARG_2STR);
int lookuptexture(int tex, int &xs, int &ys)
Texture *lookuptexture(int tex)
{
Texture *t = crosshair;
if(slots.inrange(tex))
@@ -135,10 +135,7 @@ int lookuptexture(int tex, int &xs, int &ys)
}
if(s.tex) t = s.tex;
}
xs = t->xs;
ys = t->ys;
return t->id;
return t;
}
Texture *sky[6] = {NULL, NULL, NULL, NULL, NULL, NULL};