move crosshairs directory to its own packages path
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5823 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -159,9 +159,9 @@ Texture *crosshairs[CROSSHAIR_NUM] = { NULL }; // weapon specific crosshairs
|
||||
|
||||
Texture *loadcrosshairtexture(const char *c)
|
||||
{
|
||||
defformatstring(p)("packages/misc/crosshairs/%s", c);
|
||||
defformatstring(p)("packages/crosshairs/%s", c);
|
||||
Texture *crosshair = textureload(p, 3);
|
||||
if(crosshair==notexture) crosshair = textureload("packages/misc/crosshairs/default.png", 3);
|
||||
if(crosshair==notexture) crosshair = textureload("packages/crosshairs/default.png", 3);
|
||||
return crosshair;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user