X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsector.h;h=464a64f9cb4cda772df6e9220b8fc49eeae774c5;hb=e8ad98fce495724db80d89a14de98815e0b7e877;hp=39b13bce4bfc2a3fd10e7011cdfef891b554c8ef;hpb=9599042661b468aae7bd34dca05441c0ebc93ad7;p=supertux.git diff --git a/src/sector.h b/src/sector.h index 39b13bce4..464a64f9c 100644 --- a/src/sector.h +++ b/src/sector.h @@ -69,9 +69,8 @@ public: void write(lisp::Writer& writer); /// activates this sector (change music, intialize player class, ...) - void activate(const std::string& spawnpoint = "main"); - /// get best spawn point - Vector get_best_spawn_point(Vector pos); + void activate(const std::string& spawnpoint); + void activate(const Vector& player_pos); void action(float elapsed_time); void update_game_objects();