summaryrefslogtreecommitdiff
path: root/src/d/d_item.cpp
diff options
context:
space:
mode:
authoricogn <21243684+icogn@users.noreply.github.com>2021-12-02 16:43:22 -0600
committerGitHub <noreply@github.com>2021-12-02 23:43:22 +0100
commitf6f7e7ce38a9af6ca605261a5d2485a6edc6b733 (patch)
treef5fb44f61e2048c2850fbde2801757fc65bd7dbc /src/d/d_item.cpp
parentbc428f7f65b97cc9035aed1dc1b71c54ff2e6c3d (diff)
d_kankyo_data and d_kankyo work (#158)
* Copy over progress * Comment other d_kankyo_data dat section stuff * Compiling * Progress * Progress * Close * Match * Clean * Change loop * Clean * Clean * Before attempt clean * Work on dKy_F_SP121Check, not compiling * Adjust comparisons * Adjust headers * Close * Matching * Remove * Comments * Fix u8 pointer * Comment * Adjust * Comment stage names * Rename member * Decomp dKy_darkworld_spot_check * Decomp dKy_darkworld_Area_set * Adjust * Comments, small adjust * Add phase1 base txt * Working through d_s_play phase_1 * Finish function outline * Comments * Add darkLv enum * Rename enum * Refactor * Comment * Documentation * Move out notes * Comments * Adjust * Rename structs * Comments * Minor adjust * Comment * Adjust and Comments * Adjust * Adjust * Comment * Clean * Add back addresses * Adjust comment * Adjust comments * Comments * Comment * Adjust for clang-format-10 * Edit getName * Fix fog table * Make l_field_data use placeholder struct * Make l_envr_default use placeholder struct * Make l_vr_box_data use placeholder struct * Make l_pselect_default use placeholder struct
Diffstat (limited to 'src/d/d_item.cpp')
-rw-r--r--src/d/d_item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_item.cpp b/src/d/d_item.cpp
index 33b751fd37..ba8f9ba134 100644
--- a/src/d/d_item.cpp
+++ b/src/d/d_item.cpp
@@ -2588,7 +2588,7 @@ u8 check_itemno(int i_itemId) {
if (g_dComIfG_gameInfo.play.getLayerNo(0) == 0xD ||
g_dComIfG_gameInfo.play.getLayerNo(0) == 0xE) {
- char* tmp = dComIfGp_getStartStageName();
+ const char* tmp = dComIfGp_getStartStageName();
// D_MN08: Palace of Twilight
if (strncmp(tmp, "D_MN08", 6)) {
return GREEN_RUPEE;