From ef2d82b47654dff444263ae149aec0d416a4f405 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Fri, 8 May 2015 14:39:13 -0500 Subject: Update list.cpp --- src/list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3