summaryrefslogtreecommitdiff
path: root/src/resource.cpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2016-05-02 18:23:19 -0500
committertom <tom@ground-control>2016-05-02 18:23:19 -0500
commit0346965968fb5da1a52ed8f896a922c63ce180f6 (patch)
tree917da10ed0e0e86a76abe4f3634cb6cf5b8a4fc6 /src/resource.cpp
parent4bb5b05443c36bc6e0a164bc7e324a5486be45ff (diff)
done refractoring type
Diffstat (limited to 'src/resource.cpp')
-rw-r--r--src/resource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resource.cpp b/src/resource.cpp
index 8b00e0a..08929bc 100644
--- a/src/resource.cpp
+++ b/src/resource.cpp
@@ -7,7 +7,7 @@ Resource::Resource(Window m, std::string s)
L.y = rand()%800;
L.x = rand()%1200;
- L.type = 2;
+ type = 2;
amount = 100;
}
@@ -19,7 +19,7 @@ Resource::Resource(Window m, std::string s, Location z)
L.y = z.y;
L.x = z.x;
- L.type = 2;
+ type = 2;
amount = 100;
}