Skip to content

Commit

Permalink
Added (dpDehRead): Support the Eternity extension for setting the amo…
Browse files Browse the repository at this point in the history
…unt of ammo used per shot in Weapon blocks.
  • Loading branch information
danij-deng committed Nov 17, 2009
1 parent 23c1997 commit 797eb7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/plugins/dehread/src/dehmain.c
Expand Up @@ -1765,6 +1765,8 @@ int PatchWeapon(int weapNum)
SetValueStr(buf, "Atk", ded->states[val].id);
else if(!stricmp(Line1, "Firing frame"))
SetValueStr(buf, "Flash", ded->states[val].id);
else if(!stricmp(Line1, "Ammo per shot"))
SetValueInt(buf, "Per shot", val);
else
LPrintf(unknown_str, Line1, "Weapon", weapNum);
}
Expand Down

0 comments on commit 797eb7b

Please sign in to comment.