diff --git a/SeasonsOfLoneliness.cpp b/SeasonsOfLoneliness.cpp index ff61a6d..27907a3 100644 --- a/SeasonsOfLoneliness.cpp +++ b/SeasonsOfLoneliness.cpp @@ -26,7 +26,7 @@ enum WEATHER_POWER{ HURRICANE, METEOR_SHOWER, METEOR_STORM, - SNOW_STORM + SNOWSTORM }; #define WIDTH 256 @@ -467,8 +467,33 @@ public: Object obj = OBJECTS.at(i); if (obj.name.compare("HAILSTORM_NODE")==0&&collidesWithPlayer(obj)) { int amountGained=rand()%4+2; + WEATHER_POWERS[HAILSTORM]+=amountGained; cout<<"Increased HAILSTORM power inventory count by "<