@@ -361,6 +361,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher)
361361
362362 // bonus items
363363 case SPR_BON1:
364+ R_PlayerPickupHealth (player, 1 );
364365 player->health ++; // can go over 100%
365366 if (player->health > (maxhealth * 2 ))
366367 player->health = (maxhealth * 2 );
@@ -369,6 +370,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher)
369370 break ;
370371
371372 case SPR_BON2:
373+ R_PlayerPickupArmor (player, 1 );
372374 player->armorpoints ++; // can go over 100%
373375 if (player->armorpoints > max_armor)
374376 player->armorpoints = max_armor;
@@ -378,6 +380,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher)
378380 break ;
379381
380382 case SPR_SOUL:
383+ R_PlayerPickupHealth (player, soul_health);
381384 player->health += soul_health;
382385 if (player->health > max_soul)
383386 player->health = max_soul;
@@ -389,6 +392,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher)
389392 case SPR_MEGA:
390393 if (gamemode != commercial)
391394 return ;
395+ R_PlayerPickupHealth (player, mega_health);
392396 player->health = mega_health;
393397 player->mo ->health = player->health ;
394398 P_GiveArmor (player,blue_armor_class);
0 commit comments