Refactoring patch by DevHC
This commit is contained in:
1 parent
21668c0616
commit
fef4d12d68
31 files changed
+60
-98
No files matched your search
@@ -486,7 +486,7 @@ void player_die( gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int
|
||||
killerName = "<world>";
|
||||
}
|
||||
|
||||
if ( meansOfDeath < 0 || meansOfDeath >= sizeof( modNames ) / sizeof( modNames[0] ) ) {
|
||||
if ( meansOfDeath < 0 || meansOfDeath >= ARRAY_LEN( modNames ) ) {
|
||||
obit = "<bad obituary>";
|
||||
} else {
|
||||
obit = modNames[meansOfDeath];
|
||||
|
||||
Reference in new issue
Block a user