Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 16, 2019, 2:27:40 PM (5 years ago)
Author:
tkuonen
Message:

Improve MouseAPI
Add Comments
Cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/MouseAPI_FS19/src/modules/MouseAPI/mousegametype.cc

    r12363 r12377  
    88    player_ =nullptr;
    99
     10    //Activate the Mouse Cursor
    1011    this->setHUDTemplate("MouseCursor");
    1112
     
    1415void MouseGametype::start()
    1516{
    16     bool temp = this->bForceSpawn_;
    17     this->bForceSpawn_ = true;
    18 
    19     // Call start for the parent class.
    2017    Gametype::start();
    21 
    22     // Reset the variable.
    23     this->bForceSpawn_ = temp;
    24 
    2518}
    2619
     
    3730{
    3831    assert(player);
    39 
     32    //Only Spawn once
    4033    if(this->player_ == nullptr)
    4134    {
Note: See TracChangeset for help on using the changeset viewer.