- 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

@ -495,7 +495,7 @@ static int TryFindSwitch (SWORD texture)
bool P_ChangeSwitchTexture (side_t *side, int useAgain, BYTE special, bool *quest)
{
DActiveButton::EWhere where;
short *texture;
int *texture;
int i, sound;
if ((i = TryFindSwitch (side->toptexture)) != -1)