- Fixed: Backpacks didn't increase the ammo capacity to BackpackMaxAmount if

an ammo type's BackpackAmount was 0.
- Fixed some minor bugs in custom skill code.

SVN r562 (trunk)
This commit is contained in:
Christoph Oelckers 2007-11-04 08:39:05 +00:00
commit 8f5dd5d028
8 changed files with 15 additions and 10 deletions

View file

@ -384,7 +384,7 @@ MapData *P_OpenMapData(const char * mapname)
//
//===========================================================================
static void SetTexture (short *texture, DWORD *blend, char *name8)
static void SetTexture (int *texture, DWORD *blend, char *name8)
{
char name[9];
strncpy (name, name8, 8);
@ -413,7 +413,7 @@ static void SetTexture (short *texture, DWORD *blend, char *name8)
}
}
static void SetTextureNoErr (short *texture, DWORD *color, char *name8, bool *validcolor)
static void SetTextureNoErr (int *texture, DWORD *color, char *name8, bool *validcolor)
{
char name[9];
strncpy (name, name8, 8);