Skip to content

Commit

Permalink
declare oil names as constant char pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
john-tornblom committed Apr 18, 2021
1 parent 883032e commit 0b49c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/items.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ enum item_misc_id OilMagic[] = {
IMISC_OILHARD,
IMISC_OILIMP,
};
char OilNames[10][25] = {
const char* OilNames[10] = {
"Oil of Accuracy",
"Oil of Mastery",
"Oil of Sharpness",
Expand Down

0 comments on commit 0b49c67

Please sign in to comment.