Skip to content

Commit

Permalink
The game is working! (Fix xrGame)
Browse files Browse the repository at this point in the history
Occasionally deleted sections broke the game =(
  • Loading branch information
Xottab-DUTY committed Aug 8, 2017
1 parent 5e9115a commit 5e7fd54
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/xrGame/EntityCondition.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,16 @@ enum EBoostParams
eBoostMaxCount,
};

// XXX: Place this array in a C++ fource file, not the header.
static const char* const ef_boosters_section_names[] =
// tamlin: XXX: Place this array in a C++ source file, not the header.
// Xottab_DUTY: Array currently used in eatable_item.cpp and UIBoosterInfo.cpp
static const pcstr ef_boosters_section_names[] =
{
"boost_health_restore",
"boost_power_restore",
"boost_radiation_restore",
"boost_bleeding_restore",
"boost_max_weight",
"boost_radiation_protection",
"boost_telepat_protection",
"boost_chemburn_protection",
"boost_burn_immunity",
Expand Down

0 comments on commit 5e7fd54

Please sign in to comment.