]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/MapState.cpp
lousy implementation of "array of identifiers" type
[l2e.git] / src / map / MapState.cpp
index af156304b9412c6523e7aec39f7b0547e6fadd3f..d678dab965d573c7722a963a9cc5936ac57af5c6 100644 (file)
@@ -1,10 +1,3 @@
-/*
- * MapState.cpp
- *
- *  Created on: Sep 29, 2012
- *      Author: holy
- */
-
 #include "MapState.h"
 
 #include "Map.h"
@@ -303,8 +296,8 @@ bool MapState::CheckMonster() {
                                                battleState->AddHero(*game->state->party[i]);
                                        }
                                }
-                               for (battle::Monster *monster((*e)->MonstersBegin()); monster != (*e)->MonstersEnd(); ++monster) {
-                                       battleState->AddMonster(*monster);
+                               for (battle::Monster **monster((*e)->MonstersBegin()); monster != (*e)->MonstersEnd(); ++monster) {
+                                       battleState->AddMonster(**monster);
                                }
 
                                ColorFade *fadeIn(new ColorFade(this, 0, 500, true));