ref: af6ee1723e009ff55e42fd257da03712ba7099f1
parent: 8346759db341c7ac93d62a18577f16357d25752e
author: Simon Howard <[email protected]>
date: Tue Sep 28 14:07:12 EDT 2010
Fix warnings about unhandled enumeration values. Subversion-branch: /branches/strife-branch Subversion-revision: 2148
--- a/src/strife/p_inter.c
+++ b/src/strife/p_inter.c
@@ -187,6 +187,9 @@
case wp_mauler:
player->weaponowned[wp_torpedo] = true;
break;
+
+ default:
+ break;
}
// check for the standard weapons only
@@ -997,6 +1000,9 @@
if(!deathmatch)
players[consoleplayer].message = plrkilledmsg;
return;
+
+ default:
+ break;
}
// villsa [STRIFE] toss out item
@@ -1027,9 +1033,10 @@
case MT_ORACLE:
case MT_PRIEST:
return true;
- }
- return false;
+ default:
+ return false;
+ }
}