diff options
author | Tom Barrett <spalf0@gmail.com> | 2015-05-08 14:39:13 -0500 |
---|---|---|
committer | Tom Barrett <spalf0@gmail.com> | 2015-05-08 14:39:13 -0500 |
commit | ef2d82b47654dff444263ae149aec0d416a4f405 (patch) | |
tree | 0392a1b61b003c81dba78e305ef8ef3753b88bf4 | |
parent | 01360c3bc92dac9d25ec4df57f5d0f3ca4aa6b2c (diff) |
Update list.cpp
-rw-r--r-- | src/list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list.cpp b/src/list.cpp index e5ac9b8..ff38a68 100644 --- a/src/list.cpp +++ b/src/list.cpp @@ -57,7 +57,7 @@ void List::Behavior() if(C[i].getHealth()==0) { Location z = C[i].getLocation(); - R.push_back(Resource(main,"img/Cdead.png",z)); + R.push_back(Resource(*main,"img/Cdead.png",z)); C.erase(C.begin()+i); } |