diff --git a/Source/DiabloUI/text_draw.cpp b/Source/DiabloUI/text_draw.cpp index ce27d83f7..970e0ba79 100644 --- a/Source/DiabloUI/text_draw.cpp +++ b/Source/DiabloUI/text_draw.cpp @@ -10,7 +10,7 @@ namespace devilution { -extern SDL_Surface *pal_surface; + namespace { diff --git a/Source/control.cpp b/Source/control.cpp index 4d3cee1cd..e9bc4fc2b 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -85,7 +85,7 @@ uint8_t SplTransTbl[256]; int initialDropGoldValue; bool panbtndown; bool spselflag; -extern Keymapper keymapper; + extern std::array quickSpellActionIndexes; /** Map of hero class names */