Changeset 9297
- Timestamp:
- Jun 14, 2012, 11:10:06 PM (12 years ago)
- Location:
- code/branches/presentation2012merge
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/data/gui/scripts/PickupInventory.lua
r7504 r9297 176 176 for k,v in pairs(P.detailsWindows) do 177 177 if v ~= nil then 178 winMgr:destroyWindow(v)178 P.destroyDetailWindow(k) 179 179 end 180 180 end … … 323 323 local detailNr = tonumber(match()) 324 324 325 P.destroyDetailWindow(detailNr) 326 end 327 328 function P.destroyDetailWindow(detailNr) 325 329 local window = P.detailsWindows[detailNr] 326 330 winMgr:destroyWindow(window) -
code/branches/presentation2012merge/src/modules/pickup/PickupCollectionIdentifier.cc
r9290 r9297 72 72 assert(identifier); 73 73 74 // Slight un-niceity to cast the const PickupIdentifier to a const PickupCollectionIdentifier, but since we cast to a const, there is no harm done. 75 PickupIdentifier* temp = const_cast<PickupIdentifier*>(identifier); 76 const PickupCollectionIdentifier* collectionIdentifier = orxonox_cast<PickupCollectionIdentifier*>(temp); 74 const PickupCollectionIdentifier* collectionIdentifier = orxonox_cast<const PickupCollectionIdentifier*>(identifier); 77 75 78 76 // If the input PickupIdentifier 'identifier' is no PickupCollectionIdentifier then just the two PickupIdentifiers are compared.
Note: See TracChangeset
for help on using the changeset viewer.