Change from ENEMY_SPAWN to ENTITY_SPAWN since that's what it does. Closes #31
This commit is contained in:
parent
fcd1bc589c
commit
ea92dcc3c4
4 changed files with 4 additions and 4 deletions
|
@ -515,7 +515,7 @@ bool System::drop_item(GameLevel& level, Entity item) {
|
|||
collision.insert(pos.location, item);
|
||||
// BUG: really there should be another system that handles loot->inv moves
|
||||
if(player_inv.has(item)) player_inv.remove(item);
|
||||
level.world->send<Events::GUI>(Events::GUI::ENEMY_SPAWN, item, {});
|
||||
level.world->send<Events::GUI>(Events::GUI::ENTITY_SPAWN, item, {});
|
||||
level.world->not_constant(item);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue