About: Picked up a medikit that you REALLY need!   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

The original Doom source code included provision for a special message to be displayed when the user picked up a medikit while their health was low. Instead of the usual "Picked up a medikit" message, "Picked up a medikit that you REALLY need!" was supposed to be displayed. Because of a logic error in the implementation, this message is never displayed. The following is an excerpt from p_inter.c: A fixed version of the code is as follows: This bug has been fixed in PrBoom, Eternity Engine, most ZDoom-based source ports, and possibly others.

AttributesValues
rdfs:label
  • Picked up a medikit that you REALLY need!
rdfs:comment
  • The original Doom source code included provision for a special message to be displayed when the user picked up a medikit while their health was low. Instead of the usual "Picked up a medikit" message, "Picked up a medikit that you REALLY need!" was supposed to be displayed. Because of a logic error in the implementation, this message is never displayed. The following is an excerpt from p_inter.c: A fixed version of the code is as follows: This bug has been fixed in PrBoom, Eternity Engine, most ZDoom-based source ports, and possibly others.
dcterms:subject
abstract
  • The original Doom source code included provision for a special message to be displayed when the user picked up a medikit while their health was low. Instead of the usual "Picked up a medikit" message, "Picked up a medikit that you REALLY need!" was supposed to be displayed. Because of a logic error in the implementation, this message is never displayed. The following is an excerpt from p_inter.c: case SPR_MEDI: if (!P_GiveBody (player, 25)) return; if (player->health < 25) player->message = GOTMEDINEED; else player->message = GOTMEDIKIT; break; This section of source code implements the medikit powerup logic. If the player's health is less than 25%, the "Picked up a medikit that you REALLY need!" message should be displayed. However, the code which gives the player the extra health is placed before the check is made. Because a medikit gives 25% extra health, the player's health is always at least 26% before the check. As a result, the normal "Picked up a medikit" message is always displayed and the special message is never shown. A fixed version of the code is as follows: case SPR_MEDI: if (player->health >= MAXHEALTH) return; if (player->health < 25) player->message = GOTMEDINEED; else player->message = GOTMEDIKIT; P_GiveBody (player, 25); break; This bug has been fixed in PrBoom, Eternity Engine, most ZDoom-based source ports, and possibly others.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software