Add aquatinspitz support to trianglix.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-03-21 00:39:02 +01:00
parent 0eeb9d1e56
commit ee9ec2eda1
1 changed files with 3 additions and 1 deletions

View File

@ -558,10 +558,12 @@ public:
class action** games::list_actions(size_t* num_actions)
{
class action** actions = new action*[2 + 1];
class action** actions = new action*[3 + 1];
size_t index = 0;
if ( has_path_executable("asteroids") )
actions[index++] = new action("Asteroids", new path_program("asteroids"));
if ( has_path_executable("aquatinspitz") )
actions[index++] = new action("Aquatinspitz", new path_program("aquatinspitz"));
if ( has_path_executable("quake") )
actions[index++] = new action("Quake", new path_program("quake"));
actions[index++] = new action("Back", parent_object);