aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wage/menu.cpp')
-rw-r--r--engines/wage/menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/menu.cpp b/engines/wage/menu.cpp
index 0577ad566e..e9cecfc2f0 100644
--- a/engines/wage/menu.cpp
+++ b/engines/wage/menu.cpp
@@ -278,10 +278,10 @@ void Menu::regenWeaponsMenu() {
void Menu::createWeaponsMenu(MenuItem *menu) {
Chr *player = _gui->_engine->_world->_player;
- WeaponArray *weapons = player->getWeapons(true);
+ ObjArray *weapons = player->getWeapons(true);
for (int i = 0; i < weapons->size(); i++) {
- Weapon *obj = (*weapons)[i];
+ Obj *obj = (*weapons)[i];
if (obj->_type == Obj::REGULAR_WEAPON ||
obj->_type == Obj::THROW_WEAPON ||
obj->_type == Obj::MAGICAL_OBJECT) {