Commit 01cd1e76 authored by Steven Fuller's avatar Steven Fuller

changed atkinf elements to signed char.

parent 43f9296b
...@@ -43,8 +43,8 @@ objtype *LastAttacker; ...@@ -43,8 +43,8 @@ objtype *LastAttacker;
struct atkinf struct atkinf
{ {
char tics, attack, frame; // attack is 1 for gun, 2 for knife signed char tics, attack, frame; // attack is 1 for gun, 2 for knife
} static attackinfo[4][14] = } static const attackinfo[4][14] =
{ {
{ {6,0,1},{6,2,2},{6,0,3},{6,-1,4} }, { {6,0,1},{6,2,2},{6,0,3},{6,-1,4} },
{ {6,0,1},{6,1,2},{6,0,3},{6,-1,4} }, { {6,0,1},{6,1,2},{6,0,3},{6,-1,4} },
...@@ -1205,7 +1205,7 @@ void VictorySpin() ...@@ -1205,7 +1205,7 @@ void VictorySpin()
void T_Attack(objtype *ob) void T_Attack(objtype *ob)
{ {
struct atkinf *cur; const struct atkinf *cur;
UpdateFace(); UpdateFace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment