Fix Ballhog under the last commit...
It actually uses trailing item's throw speeds instead of its own, oddly enough; I don't want to mess with the gameplay there, so I just gave it its own exception.
This commit is contained in:
1 parent
6d19be6412
commit
2cb2b02b73
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -15773,7 +15773,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
|
||||
S_BALLHOG_DEAD, // deathstate
|
||||
S_NULL, // xdeathstate
|
||||
sfx_hogbom, // deathsound
|
||||
0, // speed
|
||||
64*FRACUNIT, // speed
|
||||
16*FRACUNIT, // radius
|
||||
32*FRACUNIT, // height
|
||||
0, // display offset
|
||||
|
||||
+1
-1
@@ -2892,7 +2892,7 @@ static mobj_t *K_ThrowKartItem(player_t *player, boolean missile, mobjtype_t map
|
||||
return NULL;
|
||||
|
||||
// Figure out projectile speed by game speed
|
||||
if (missile) // Trying to keep compatability...
|
||||
if (missile && mapthing != MT_BALLHOG) // Trying to keep compatability...
|
||||
{
|
||||
PROJSPEED = mobjinfo[mapthing].speed;
|
||||
if (gamespeed == 0)
|
||||
|
||||
Reference in new issue
Block a user