- 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:
parent
c873ae1709
commit
8f5dd5d028
8 changed files with 15 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue