diff options
Diffstat (limited to 'src/List.cpp')
-rw-r--r-- | src/List.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/List.cpp b/src/List.cpp index 05a6f66..d4bc796 100644 --- a/src/List.cpp +++ b/src/List.cpp @@ -2,7 +2,7 @@ List::List() { - for(int i = 0; i < 10; i++) + for(int i = 0; i < 50; i++) { Location L; L.x = 150; @@ -14,12 +14,12 @@ List::List() void List::draw(WINDOW * w) { - for(int i = 0; i < 10; i++) + for(int i = 0; i < men.size(); i++) men[i].draw(w); } void List::action() { - for(int i = 0; i < 10; i++) + for(int i = 0; i < men.size(); i++) men[i].action(men); } |