Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6664 in orxonox.OLD


Ignore:
Timestamp:
Jan 24, 2006, 11:23:53 AM (18 years ago)
Author:
bensch
Message:

trunk: small fix in resource/ammos

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/event/event_handler.cc

    r6624 r6664  
    262262    SDL_WM_GrabInput(SDL_GRAB_OFF);
    263263  else
    264     ;//SDL_WM_GrabInput(SDL_GRAB_ON);
     264    SDL_WM_GrabInput(SDL_GRAB_ON);
    265265}
    266266
  • trunk/src/util/loading/resource_manager.cc

    r6655 r6664  
    668668        else
    669669        {
    670           PRINTF(2)("unable to unload %s because there are still %d references to it\n",
    671                     this->resourceList[index]->name, this->resourceList[index]->count);
     670          if (round == 3)
     671            PRINTF(2)("unable to unload %s because there are still %d references to it\n",
     672                      this->resourceList[index]->name, this->resourceList[index]->count);
    672673          removeCount++;
    673674        }
  • trunk/src/world_entities/weapons/ammo_container.cc

    r6655 r6664  
    8484{
    8585  assert (weapon != NULL);
     86  assert (this->weaponValid(weapon));
    8687
    8788  float fillEnergy = weapon->getEnergyMax();
Note: See TracChangeset for help on using the changeset viewer.